triggers & alias

Posted by Rockeru66 on Tue 27 Jan 2004 06:07 PM — 3 posts, 13,909 views.

#0
hi all ya

i wanna know how i can make a trigger to fire an alias.
ex. when trigger mach on *sanctify* i wanna start an alias room which contains : bless room, sanctify, pray...

thanks
Russia #1

<triggers>
  <trigger
   enabled="y"
   match="*sanctify*"
   send_to="12"
   sequence="100"
   other_text_colour="black"
   other_back_colour="black"
  >
  <send>world.Execute &quot;room&quot;</send>
  </trigger>
</triggers>


You'll need to have scripting enabled for this to work and use vbScript as your scripting language.
Australia Forum Administrator #2
You can also simply put "room" in the "send" box, and change the "send to" box to "execute". Execute means to re-evaluate the sent text as a command, and thus aliases will be reprocessed.

This technique will work even if scripting is not active.