Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Questions about triggers!
|
Questions about triggers!
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| CK890
(1 post) Bio
|
| Date
| Wed 24 Jul 2002 12:06 AM (UTC) |
| Message
| 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! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 25 Jul 2002 07:29 AM (UTC) |
| Message
| 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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,432 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top