Register forum user name Search FAQ

Gammon Forum

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 ➜ Programming ➜ General ➜ still a "wait" problem

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  (23,165 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.


17,966 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.