TRIGEDIT-MOB-ACTION ACTIONS

From 4Dimensions
Revision as of 11:32, 14 July 2017 by Loran (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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