User Tools

Site Tools


triggers:triggers:mprog:command

COMMAND

Keyword : 'command'

Argument: command name (string)

Explanation: This trigger will fire if the specified command is used in the same room as the mob that it is attached to. When the trigger fires, the command does not process as normal but instead the specified MPROG is run.

If more than one mob in a room has a command trigger for the same command, both triggers will fire if the command is used.

Note: the trigger argument needs to be the full and complete name of the command in order to work properly. For instance, 'first' won't work, because the full command is 'firstaid'.

If an invalid command argument is used in the trigger, there is no effect, and no error message will show to indicate this (so be careful).

triggers/triggers/mprog/command.txt · Last modified: 2015/07/15 11:46 by vodur