Help/Trigger

From DikuMUD Wiki
Revision as of 07:48, 21 September 2020 by Papi (talk | contribs)
Jump to navigation Jump to search

Trigger

If you want to do whatever the beastly Fido tells you to do:

 {trigger obey /^the Beastly Fido tells you '(.+?)'/ $1}

Or maybe you'd like to

 {trigger smarmy /^(@friends)\sleaves (.+?)\.$/ say I love $1. Especially when $1 leaves $2.}

You may notice this is written with Regular Expressions. If you're not familiar or want to learn more this site RegEx Reference allows you to build triggers.

See also:

 {Help bot}
 {Help variable}
 {Help alias}