Pls help....

Posted by Shienara on Sat 27 Sep 2003 11:34 AM — 4 posts, 18,805 views.

#0
Ok here the deal, I want to make a trigger that says, if it says 'boo' OR 'bah' OR 'your mother is fat' OR 'whatever'
send 'scream'

Is it possible to do something like that?

If it is... how?

Thanks

Me
Canada #1
It is possible to do that, by using regular expressions. Please browse your hard drive, find the directory where MUSHclient is installed, and look in the 'Docs' folder for a file called "RegularExpressions.txt". That document contains extensive help on the subject.

In the meantime, here is the alias you asked for:

<aliases>
  <alias
   match="(boo|bah|your mother is fat|whatever)"
   enabled="y"
   regexp="y"
   sequence="100"
  >
  <send>scream</send>
  </alias>
</aliases>
#2
Thanks! You art an angel!
*caper*

Me
#3
Heh, that's what I used to make those triggers I sent you.