User Tools

Site Tools


trigger

This is an old revision of the document!


Triggers (See also: Aliases, Triggers, Loops)

Mystical provides custom code to do triggers on
the mud.  A trigger will perform an automatic
response to output that is sent to a character.
Triggers will be of form trigger {condition} {reaction}
For example trigger {You join the fight} {cast 'earthquake'}
will make the player automatically cast earthquake when they join
the fight.

Trigger by itself will display all of the character's triggers.

To remove a trigger, type trigger remove {condition}

To update a trigger, just use the same condition and it will
update it for you.

Triggers make use of the variable system %,%1,%2 etc. already
used in aliases.
trigger.1619550029.txt.gz · Last modified: 2021/04/27 19:00 by lynx