Difference between revisions of "TRIGEDIT-MOB-ACTION ACTIONS"

From 4Dimensions
Jump to: navigation, search
(Bot: Automated import of articles)
(No difference)

Revision as of 04:00, 26 January 2016

TRIGEDIT-MOB-ACTION ACTIONS

TRIGEDIT-MOB-ACTION ACTIONS

TRIGEDIT-MOB-ACTION ACTIONS

TRIGEDIT-MOB-ACTION ACTIONS


Activated when a matching action is performed by a character in the room.

Actions are any text output via the act() function, and include most output

from the mud. (Notable exclusions are character say's, and immortal echo's.)


Numeric Arg : 0: argument is a substring that must be found in the text to cause a

match.

1: argument is a list of words, any of which found in the text will

activate the trigger.

Argument  : a phrase or wordlist to be matched.


Variables:

%actor% - the character causing the trigger to activate

%victim% - the character, if any, on the receiving end of the action

%object% - the object, if any, used in the action

%target% - the target of the action, if any

%arg% - the entire phrase


Example: {cRTSTAT 64, 1372{c0