TRIGEDIT-OBJ-COMMANDS

building

Also known as: TRIGEDIT-OBJECT-COMMAND · TRIG-OBJ-COMMAND · TRIG-OBJ-COMMANDS

Activates when a command is performed near this object. Command triggers do not work for God and above. Numeric Arg : a bitfield to indicate where the object must be in order to cause the trigger to activate. Bits: 1: In character's worn equipment. 2: In character's carried inventory. 4: In same room with the character. These bits can be set at once by adding the values. 7= worn, inv, room. 3 = worn, inv. 5 = worn, room. Argument : A single word which must be typed to activate the trigger. Look at the examples for how to use multiple word arguments. If a return 0 is used the character will receive the same message as if the trigger did not exist, and any other 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. %self% - the object. Example: TSTAT 81, 154, 6, 9800, 11859