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.
Entire forum
➜ MUSHclient
➜ General
➜ waiting between commands in alias
waiting between commands in alias
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Lokie
(3 posts) Bio
|
Date
| Tue 20 Jul 2004 02:51 PM (UTC) |
Message
| is it possible to wait between commands in an alias ?
i.e.
cast armor
(wait 5 secs)cast shield
(wait 5 secs)cast light
ect......
| Top |
|
Posted by
| Ked
Russia (524 posts) Bio
|
Date
| Reply #1 on Tue 20 Jul 2004 03:01 PM (UTC) |
Message
|
world.Send "cast armor"
world.DoAfter 5, "cast shield"
world.DoAfter 10, "cast light"
Note, that world.DoAfter delays starting from the moment of execution, so those two DoAfter's above are actually executed 5 seconds from when the script is called and 10 seconds from the same point in time, giving you a delay of 5 seconds between them. | 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,683 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top