GPDL List of Functions



DungeonCraft Help Home

String $DEBUG(String)

String $PLUS(String, String)

String $MINUS(String, String)

String $TIMES(String, String)

String $DIV(String, String)

String $MOD(String, String)

String $EQUAL(String, String)

String $LESS(String, String)



String $GREATER(String, String)

String $NOT(String)

String $LENGTH(String)

String $NUMERIC(String)

String $MIDDLE(String, String, String)

String $RANDOM(String)

String $GREP(String, String)

String $WIGGLE(string)

String $LISTEN()

String $SAY(String)

String $LISTENTEXT()



String $SET_CHAR_DSL(String, String, String)

String $GET_CHAR_DSL(String, String)



(Help for all GET_CHAR_* and SET_CHAR_*)



String $GET_CHAR_SEX(String)

String $GET_CHAR_NAME(String)

String $GET_CHAR_AC(String)

String $SET_CHAR_AC(String, String)

String $GET_CHAR_HITPOINTS(String)

String $SET_CHAR_HITPOINTS(String, String)

String $GET_CHAR_THACO(String)

String $SET_CHAR_THACO(String, String)



String $GET_CHAR_RDYTOTRAIN(String)

String $SET_CHAR_RDYTOTRAIN(String, String)

String $GET_CHAR_CLERICEXP(String)

String $SET_CHAR_CLERICEXP(String, String)

String $GET_CHAR_MAGICUSEREXP(String)

String $SET_CHAR_MAGICUSEREXP(String, String)

String $GET_CHAR_FIGHTEREXP(String)

String $SET_CHAR_FIGHTEREXP(String, String)

String $GET_CHAR_RANGEREXP(String)

String $SET_CHAR_RANGEREXP(String, String)

String $GET_CHAR_THIEFEXP(String)

String $SET_CHAR_THIEFEXP(String, String)



String $GET_CHAR_DRUIDEXP(String)

String $SET_CHAR_DRUIDEXP(String, String)

String $GET_CHAR_PALADINEXP(String)

String $SET_CHAR_PALADINEXP(String, String)

String $GET_CHAR_AGE(String)

String $SET_CHAR_AGE(String, String)

String $GET_CHAR_MAXAGE(String)

String $SET_CHAR_MAXAGE(String, String)

String $GET_CHAR_MAXMOVE(String)

String $SET_CHAR_MAXMOVE(String, String)

String $GET_CHAR_STR(String)

String $SET_CHAR_STR(String, String)

String $GET_CHAR_STRMOD(String)



String $SET_CHAR_STRMOD(String, String)

String $GET_CHAR_INT(String)

String $SET_CHAR_INT(String, String)

String $GET_CHAR_WIS(String)

String $SET_CHAR_WIS(String, String)

String $GET_CHAR_DEX(String)

String $SET_CHAR_DEX(String, String)

String $GET_CHAR_CON(String)

String $SET_CHAR_CON(String, String)

String $GET_CHAR_CHA(String)

String $SET_CHAR_CHA(String, String)

String $GET_CHAR_MAXENC(String)

String $SET_CHAR_MAXENC(String, String)

String $GET_CHAR_ENC(String)



String $GET_CHAR_GENDER(String)

String $SET_CHAR_GENDER(String, String)

String $GET_CHAR_CLASS(String)

String $SET_CHAR_CLASS(String, String)

String $GET_CHAR_ALIGNMENT(String)

String $SET_CHAR_ALIGNMENT(String, String)

String $GET_CHAR_STATUS(String)

String $SET_CHAR_STATUS(String, String)

String $GET_CHAR_UNDEAD(String)

String $SET_CHAR_UNDEAD(String, String)

String $GET_CHAR_SIZE(String)

String $SET_CHAR_SIZE(String, String)

String $GET_CHAR_MAGICRESIST(String)



String $SET_CHAR_MAGICRESIST(String, String)

String $GET_CHAR_SAVEVSPPDM(String)

String $SET_CHAR_SAVEVSPPDM(String, String)

String $GET_CHAR_SAVEVSPP(String)

String $SET_CHAR_SAVEVSPP(String, String)

String $GET_CHAR_SAVEVSRSW(String)

String $SET_CHAR_SAVEVSRSW(String, String)

String $GET_CHAR_SAVEVSBR(String)

String $SET_CHAR_SAVEVSBR(String, String)

String $GET_CHAR_SAVEVSSP(String)

String $SET_CHAR_SAVEVSSP(String, String)

String $GET_CHAR_CLERICLVL(String)



String $GET_CHAR_FIGHTERLVL(String)

String $GET_CHAR_RANGERLVL(String)

String $GET_CHAR_DRUIDLVL(String)

String $GET_CHAR_PALADINLVL(String)

String $GET_CHAR_THIEFLVL(String)

String $GET_CHAR_MAGICUSERLVL(String)

String $GET_CHAR_CLERICPREVLVL(String)

String $GET_CHAR_FIGHTERPREVLVL(String)

String $GET_CHAR_RANGERPREVLVL(String)

String $GET_CHAR_DRUIDPREVLVL(String)

String $GET_CHAR_PALADINPREVLVL(String)

String $GET_CHAR_THIEFPREVLVL(String)

String $GET_CHAR_MAGUSERPREVLVL(String)



String $GET_CHAR_CLERICPDLVL(String)

String $GET_CHAR_FIGHTERPDLVL(String)

String $GET_CHAR_RANGERPDLVL(String)

String $GET_CHAR_DRUIDPDLVL(String)

String $GET_CHAR_PALADINPDLVL(String)

String $GET_CHAR_THIEFPDLVL(String)

String $GET_CHAR_MAGUSERPDLVL(String)

-->

String $GET_CHAR_NBRHITDICE(String)

String $GET_CHAR_NBRATTACKS(String)

String $GET_CHAR_MORALE(String)

String $SET_CHAR_MORALE(String, String)

String $GET_CHAR_OPENDOORS(String)

String $SET_CHAR_OPENDOORS(String, String)



String $GET_CHAR_OPENMAGICDOORS(String)

String $SET_CHAR_OPENMAGICDOORS(String, String)

String $GET_CHAR_BENDLIFT(String)

String $SET_CHAR_BENDLIFT(String, String)

String $GET_CHAR_PICKPOCKETS(String)

String $SET_CHAR_PICKPOCKETS(String, String)

String $GET_CHAR_OPENLOCKS(String)

String $SET_CHAR_OPENLOCKS(String, String)

String $GET_CHAR_FINDTRAPS(String)

String $SET_CHAR_FINDTRAPS(String, String)

String $GET_CHAR_MOVESILENT(String)

String $SET_CHAR_MOVESILENT(String, String)



String $GET_CHAR_HIDESHADOWS(String)

String $SET_CHAR_HIDESHADOWS(String, String)

String $GET_CHAR_HEARNOISE(String)

String $SET_CHAR_HEARNOISE(String, String)

String $GET_CHAR_CLIMBWALLS(String)

String $SET_CHAR_CLIMBWALLS(String, String)

String $GET_CHAR_READLANG(String)

String $SET_CHAR_READLANG(String, String)

String $GET_CHAR_BLESS(String)

String $SET_CHAR_BLESS(String, String)

String $GET_CHAR_CURSE(String)

String $SET_CHAR_CURSE(String, String)

String $GET_CHAR_UNDEADFEAR(String)



String $SET_CHAR_UNEADFEAR(String, String)

String $GET_CHAR_ENLARGE(String)

String $SET_CHAR_ENLARGE(String, String)

String $GET_CHAR_REDUCE(String)

String $SET_CHAR_REDUCE(String, String)

String $GET_CHAR_CHARMPERSON(String)

String $SET_CHAR_CHARMPERSON(String, String)

String $GET_CHAR_REFLECTGAZEATTACK(String)

String $SET_CHAR_REFLECTGAZEATTACK(String, String)

String $GET_CHAR_PROTFROMEVIL(String)

String $SET_CHAR_PROTFROMEVIL(String, String)

String $GET_CHAR_PROTFROMGOOD(String)



String $SET_CHAR_PROTFROMGOOD(String, String)

String $GET_CHAR_SHIELD(String)

String $SET_CHAR_SHIELD(String, String)

String $GET_CHAR_SLEEP(String)

String $SET_CHAR_SLEEP(String, String)

String $GET_CHAR_FOG(String)

String $SET_CHAR_FOG(String, String)

String $GET_CHAR_ENTANGLE(String)

String $SET_CHAR_ENTANGLE(String, String)

String $GET_CHAR_INVISIBLETOANIMALS(String)

String $SET_CHAR_INVISIBLETOANIMALS(String, String)

String $GET_CHAR_NONUNDEADFEAR(String)



String $SET_CHAR_NONUNDEADFEAR(String, String)

String $GET_CHAR_SANCTUARY(String)

String $SET_CHAR_SANCTUARY(String, String)

String $GET_CHAR_SHILLELAGH(String)

String $SET_CHAR_SHILLELAGH(String, String)

String $GET_CHAR_DISPLACEMENT(String)

String $SET_CHAR_DISPLACEMENT(String, String)

String $GET_CHAR_WIZADRY(String)

String $SET_CHAR_WIZADRY(String, String)

String $GET_CHAR_DETECTMAGIC(String)

String $SET_CHAR_DETECTMAGIC(String, String)

String $GET_CHAR_INVISIBLETOUNDEAD(String)



String $SET_CHAR_INVISIBLETOUNDEAD(String, String)

String $GET_CHAR_TYPE(String)

String $GET_CHAR_VORPALATTACK(String)

String $SET_CHAR_VORPALATTACK(String, String)

String $GET_CHAR_HOLDPERSON(String)

String $SET_CHAR_HOLDPERSON(String, String)

String $GET_CHAR_SILENCE(String)

String $SET_CHAR_SILENCE(String, String)

String $GET_CHAR_POISONED(String)

String $SET_CHAR_POISONED(String, String)

String $GET_CHAR_SLOWPOISON(String)

String $SET_CHAR_SLOWPOISON(String, String)



String $PARTYSIZE()

String $SET_PARTY_ASL(String, String)

String $GET_PARTY_ASL(String)

String $IF_PARTY_ASL(String)

String $DELETE_PARTY_ASL(String)

String $GET_PARTY_FACING()

String $SET_PARTY_FACING(String)

String $GET_PARTY_DAYS()



String $SET_PARTY_DAYS(String)

String $GET_PARTY_HOURS()

String $SET_PARTY_HOURS(String)

String $GET_PARTY_MINUTES()

String $SET_PARTY_MINUTES(String)

String $GET_PARTY_ACTIVECHAR()

String $SET_PARTY_ACTIVECHAR(String)

String $GET_PARTY_MONEYAVAILABLE(String)



String $GET_GAME_CURRLEVEL()

String $GET_GAME_VERSION()

String $GET_VAULT_MONEYAVAILABLE(String)

String $COINNAME(String)

String $COINRATE(String)

String $SET_GLOBAL_ASL(String, String)

String $GET_GLOBAL_ASL(String)

String $SET_LEVEL_STATS_ASL(String, String)



String $DELETE_LEVEL_STATS_ASL(String, String)

String $IF_LEVEL_STATS_ASL(String, String)

String $GET_LEVEL_STATS_ASL(String, String)

String $SMALL_PICTURE(String)

String $SET_QUEST(String, String)



Actor $Myself()

Actor &Name(String)

Actor $Target()

Actor $LAST_ATTACKER_OF(Actor)



Actor $LAST_HITTER_OF(Actor)

Actor $LAST_TARGETER_OF(Actor)

Actor $LEAST_DAMAGED_FRIENDLY(Actor)

Actor $MOST_DAMAGED_FRIENDLY(Actor)

Actor $NEAREST_TO(Actor)

Actor $NEAREST_ENEMY_TO(Actor)

Actor $LEAST_DAMAGED_ENEMY(Actor)

Actor $MOST_DAMAGED_ENEMY(Actor)



String $IndexOf(Actor)

String $Gender(Actor)

String &Class(Actor)

String $Race(Actor)

String $Status(Actor)

String $Alignment(Actor)

String $AlignmentGood(Actor)

String $AlignmentEvil(Actor)

String $AlignmentLawful(Actor)



String $AlignmentNeutral(Actor)

String $AlignmentChaotic(Actor)

String $HitPoints(Actor)

String $InParty(Actor)

String $SaveVsSpell(Actor)

String $SaveVsBreathWeapon(Actor)

String $SaveVsRodStaffWand(Actor)

String $SaveVsPetPoly(Actor)

String $SaveVsParPoiDM(Actor)

String $IsUndead(Actor)

String $GET_ISMAMMAL(Actor)

String $GET_ISANIMAL(Actor)

String $GET_ISSNAKE(Actor)

String $GET_ISGIANT(Actor)

String $GET_ISALWAYSLARGE(Actor)

String $GET_HASDWARFACPENALTY(Actor)



String $GET_HASGNOMEACPENALTY(Actor)

String $GET_HASDWARFTHACOPENALTY(Actor)

String $GET_HASGNOMETHACOPENALTY(Actor)

String $GET_HASRANGERDMGPENALTY(Actor)

String $GET_HASPOISONIMMUNITY(Actor)

String $GET_HASDEATHIMMUNITY(Actor)

String $GET_HASCONFUSIONIMMUNITY(Actor)

String $GET_HASVORPALIMMUNITY(Actor)

String $GET_CANBEHELDORCHARMED(Actor)

String $GET_AFFECTEDBYDISPELEVIL(Actor)

String $IS_AFFECTED_BY_SPELL(Actor, String)

String $IS_AFFECTED_BY_SPELL_ATTR(Actor, String)



String $CURR_CHANGE_BY_VAL()

String $GIVE_CHAR_ITEM(Actor, String)

String $TAKE_CHAR_ITEM(Actor, String)



(Help for all operators)

+

>

<

==

>=

<=

!=

&&

||

!



+#

-#

*#

/#

%#

&#

|#

^#



==#

!=#

<#

<=#

>#

>=#