Gammon Forum
Entire forum
Programming
General
still a "wait" problem
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Quakerwang
(4 posts) bio
|
Date
| Thu 27 Mar 2008 12:08 PM (UTC) |
Message
| I have known that there is a doafter() fun to send a command to the game after a few seconds.
but I want a simply command that can be be used in the "send box", because the "send box" can use alias, and many simply actions do not need script,just like zmud:
back
#wa 1000
gohaven
say hello to angel
#wa 2000
gohell
say I am back
Does mushclient have such command? | top |
|
Posted by
| Quakerwang
(4 posts) bio
|
Date
| Reply #1 on Thu 27 Mar 2008 12:10 PM (UTC) |
Message
| and I want to say.
I use sleep to pause a while using perl script, but entire mushclient paused, not good, you see.
thanks | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #2 on Thu 27 Mar 2008 03:25 PM (UTC) |
Message
| You can use DoAfter in the Send Box. Use the Script Prefix and then DoAfter syntax. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Nick Gammon
Australia (22,975 posts) bio
Forum Administrator |
Date
| Reply #3 on Thu 27 Mar 2008 08:44 PM (UTC) |
Message
| You can't use the script prefix half-way down a send box. See http://mushclient.com/faq point 25 for a detailed description of pausing scripts, from just using the Send box. |
- 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.
13,649 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.