Mode 1: death check
Will output "You can't do that while you're dead." if the player $ch is dead. Also functions as a RETURN 1 if they are dead, ending a script automatically.
Mode 2: hidden check (same as script 236)
Will output "While hidden?" if player $ch is hidden. Also functions as RETURN 1 if they are hidden, ending a script automatically.
Mode 3: general round-time/stun/death check (same as script 56)
See script 56. Also functions as a RETURN 1 if they are dead, ending a script automatically.
Mode 4: what?
Will output "I could not find what you were referring to." unconditionally. Also functions as a RETURN 1 unconditionally, ending a script automatically.
Mode 5: who?
Will output "I could not find who you were referring to." unconditionally. Also functions as a RETURN 1 unconditionally, ending a script automatically.
Mode 6: who or what?
Will output "I could not find who or what you were referring to." unconditionally. Also functions as a RETURN 1 unconditionally, ending a script automatically.
Mode 7: no access (generic)
Will output "I don't understand." if $ch is access level 0 and RETURNs out of script.
Mode 8: no access (GA improved)
Will output "I don't understand." and RETURN if $ch is access level 0 and "You do not have access to that GameMaster command." and RETURN if $ch is access level 1. Does nothing if $ch access level exceeds 1.
Mode 9: no access (GD-only)
Will output "I don't understand." and RETURN if $ch is access level 1 and "You do not have access to that GameDirector command." and RETURN if $ch is access level 1 or 2. Does nothing if $ch access level exceeds 2.
Mode 10: hidden buster (same as script 235)
Will output "You come out of hiding." if $ch is hidden (and sets hidden status to Not Hidden).
Mode 11: object effect code locator shortcut
Looks in room 599 for an object effect code matching truename <parameter1>. Returns $object if one is found.
Mode 12: sit/stand/kneel status display (same as script 54)
See script 54.
Mode 13: injury pre-check (same as RUN_SCRIPT2 10059 <parameter1>)
See script 10059. Also functions as a RETURN 1 if the check fails.
Mode 14: combat summary (same as RUN_SCRIPT 9020 XXXX XXXX XXXX XXXX)
See script 9020.
For example, here is the GRIN verb in EaxiaSEL using RUN_UTILITY:
RUN_UTILITY 1
RUN_UTILITY 2
IF ($parameter1 == "")
{
MSGP You grin.
MSGE $n grins.
RETURN 1
}
SUPER_PARSE 0
IF ($npc:id != -1)
{
MSGP You grin at a $npc:roomname.
MSGE $ch:player:name grins at a $npc:roomname.
RETURN 1
}
IF ($ch:player:id == $target:player:id)
{
MSGP You grin widely.
MSGE $ch:player:name grins at $mself.
RETURN 1
}
IF ($target:player:id != 0)
{
MSGP You grin at $target:player:name.
MSGV $ch:player:name grins at you.
MSGNV $ch:player:name grins at $target:player:name.
RETURN 1
}
IF ($object:id == 0)
{
RUN_UTILITY 6
}
IF ($object:script > 0)
{
RUN_SCRIPT $object:script
IF ($returned != 0)
{
RETURN 1
}
}
MSGP You grin at $object:name.
MSGE $ch:player:name grins at $object:name.
RETURN 1
Notice the use of three instances of RUN_UTILITY.