Questions about triggers!

Posted by CK890 on Wed 24 Jul 2002 12:06 AM — 2 posts, 10,942 views.

#0
How to make a pause between commands in the triggers?
For example,
I want to eat food, wait 2 sec then drink skin.

eat food
??(what should i input?)
drink skin

How should I do it? Please help me with it
p.s. can i make a pause in aliases
Thanks!
Australia Forum Administrator #1
Get the trigger to call a small script, which does the first command and then the second after two seconds, like this:


sub mytrigger (sName, sLine, wildcards)

  world.send "eat food"

  world.doafter 2, "drink skin"

end sub


As for aliases, you can do an identical thing there too.