Wait command

Posted by Kresslack on Tue 23 Dec 2008 09:45 PM — 4 posts, 28,302 views.

#0
What's the wait command for Lau? Thought it was #wait 1000 for one second, but apparently not.
USA #1
That's zMud. :)

Two simple functions in MushClient are DoAfter() and DoAfterSpecial() that take a number of seconds and basically make a one shot timer for you easily. (i.e. DoAfter(2, "burp") waits 2 seconds and then burps)

This command returns immediately tho, so if you wanted to build a 2 second pause into your script before continuing, you'd need:

The wait module that you can require for situations where you're waiting until a certain response message, or other functionality.
Australia Forum Administrator #2
Also see http://mushclient.com/faq point 25.
#3
ok, thanks.