This is an old revision of the document!
Triggers
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.