Trigger

From t2twiki

(Redirected from Triggers)
Jump to: navigation, search

[edit] MUD Definition

From "help trigger":


Usage: trigger <trigger> todo <command>

trigger < off | on >


A trigger is a certain text string that, when received by your character, will cause you to execute a certain command. It is preparing your character to react when something happens. You can only prepare 1 trigger at a time. Putting a ^ at the beginning of the trigger string will cause it to match on the start of the line. You cannot use a trigger on your prompt text.

Example use:

trigger ^You killed todo take all from corpse
trigger ^Badguy enters todo handcuff badguy
trigger ^Friend is bleeding todo bandage friend
trigger massacres todo do get wine from bag,drink wine,drop bottle
  • Use "trigger off" to deactivate your current trigger.
  • Use "trigger on" to turn back on a deactivated trigger.
  • Typing "trigger" by itself will list your current trigger setting


[edit] Related Pages

Personal tools