- this trigger activates when commands are performed in the same room as the object.
Argument: text which must be part of the command typed to filter out unintersting commands
NArg: a number used to determine where the object must be in order for the script to activate.
1: the object must be worn
2: the object must be in a characters inventory
4: the object must be in the same room as the character
Note: you may add the values together to use multiple locations for the same script. Example: 7: the script can be activated worn, in inventory, or in the room
Return Value:
if 0 is returned by the trigger the command will go through as if the trigger did not exist, and any further command triggers will be checked
Variables:
%actor% the character issuing the command
%cmd% the exact command without arguments issued
%arg% the arguments, if any, following the command