Command Availability Matrix

This reference shows which scripting commands are available for each entity type. Use it to quickly check whether a specific command can be used in your mob, object, room, token, area, or other program type.

How to Read This Table

Each row is a scripting command. Each column is an entity type that can run programs. ✓ means the command is available for that entity type; ✗ means it is not.

Column Entity Type Description
Mob Mobile/NPC Programs attached to NPCs (mob_cmd_table)
Obj Object Programs attached to objects (obj_cmd_table)
Room Room Programs attached to rooms (room_cmd_table)
Token Token (self) Programs on tokens running on their own host (token_cmd_table)
TokOther Token (other) Token programs running on a different host (tokenother_cmd_table)
Area Area Area-level programs (area_cmd_table)
Instance Instance Dungeon instance runtime programs (instance_cmd_table)
Dungeon Dungeon Dungeon blueprint programs (dungeon_cmd_table)
Quest Quest Quest programs — shares the Area command table
Event Event Event programs (evt_cmd_table)

Quest programs use the same command table as Area programs (area_cmd_table). The Quest and Area columns will always match.

Affects & Auras

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
addaffect ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
addaffectname ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
addaura ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
alteraffect ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
fixaffects ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
remaura ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
stripaffect ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
stripaffectname ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Character Modification

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
addspell ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
addstache ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
addtrait ✗ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
adjusttrait ✗ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
altermob ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
condition ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
grantclass ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
grantskill ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
grantsong ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
remort ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
removetrait ✗ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
remspell ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
remstache ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
resetdice ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
restore ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
revokeclass ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
revokeskill ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
revokesong ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
setclass ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
setclasslevel ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
setposition ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
setrace ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
setrecall ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
settrait ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Combat

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
applytoxin ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
assist ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
breathe ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
cast ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
castfailure ✗ ✗ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗
castrecover ✗ ✗ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗
damage ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
entercombat ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
flee ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
gdamage ✓ ✓ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗
kill ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
peace ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
raisedead ✓ ✗ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗
rawkill ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
startcombat ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
stopcombat ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
zot ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Communication

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
asound ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echo ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echoaround ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echoat ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
echobattlespam ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echochurch ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echogrouparound ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echogroupat ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echoleadaround ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echoleadat ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echonotvict ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
echoroom ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
gecho ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
pageat ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
prompt ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
zecho ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Dungeon & Instance

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
checkpoint ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
dungeoncommence ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
dungeoncomplete ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
dungeonfailure ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
instancecomplete ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
instancefailure ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
loadinstanced ✓ ✓ ✓ ✓ ✗ ✗ ✓ ✓ ✗ ✗
makeinstanced ✗ ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✗ ✗
sendfloor ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
spawndungeon ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
unlockdungeon ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓

Economy & Shops

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
chargebank ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
chargemoney ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
deduct ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
shop ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
wiretransfer ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Entity Loading & Transfer

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
appear ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
cloneroom ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
destroyroom ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
disappear ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
fade ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
gtransfer ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
junk ✓ ✓ ✗ ✓ ✓ ✗ ✗ ✗ ✗ ✗
mload ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
oload ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
otransfer ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
purge ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
remove ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
selfdestruct ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
take ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
teleport ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
transfer ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Events

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
dequeue ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
event ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
phaseevent ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
queue ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
reckoning ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
stageevent ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✓ ✓ ✓
startevent ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
startreckoning ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
stopevent ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
stopreckoning ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓

Groups & Movement

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
at ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗
gforce ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
goto ✓ ✓ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗
group ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
hunt ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
ungroup ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Quests

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
award ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
quest ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✓ ✓ ✓
questaccept ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questcancel ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questcomplete ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questechoat ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✓ ✓ ✓
questgenerate ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questpartcustom ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questpartgetitem ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questpartgoto ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questpartrescue ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questpartslay ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questscroll ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
questsetindex ✗ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Room & Exit Modification

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
alterexit ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
alterobj ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
alterroom ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
ed ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
link ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
lockadd ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
lockremove ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
resetroom ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
showroom ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Scripting & Flow Control

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
attach ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
call ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
cancel ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗
delay ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗
detach ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
force ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
forget ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
input ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
inputstring ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
interrupt ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
persist ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
remember ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
saveplayer ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
scriptwait ✓ ✓ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗
showcommand ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
vforce ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
xcall ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓

Tokens

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
adjust ✗ ✗ ✗ ✓ ✓ ✗ ✗ ✗ ✗ ✗
give ✗ ✗ ✗ ✓ ✓ ✗ ✗ ✗ ✗ ✗
settimer ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗

Variables

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
varclear ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
varclearon ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
varcopy ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
varsave ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
varsaveon ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
varset ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
varseton ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓

Wilderness

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
wildernessmap ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
wildsanchor ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✓ ✓ ✓
wildsoverlay ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
wildstile ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
wildsvlink ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✓ ✓ ✓

World & System

Command Mob Obj Room Token TokOther Area Instance Dungeon Quest Event
churchannouncetheft ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
crier ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
mail ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
mute ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
skimprove ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
specialkey ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
stringmob ✓ ✓ ✓ ✓ ✗ ✗ ✓ ✓ ✗ ✗
stringobj ✓ ✓ ✓ ✓ ✗ ✗ ✓ ✓ ✗ ✗
treasuremap ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
unlockarea ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
unmute ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
usecatalyst ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗
wiznet ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓

Total commands: 181

Entity Type Available Commands
Mob 167
Obj 162
Room 156
Token 162
TokOther 3
Area 44
Instance 48
Dungeon 48
Quest 44
Event 44