still a "wait" problem

Posted by Quakerwang on Thu 27 Mar 2008 12:08 PM — 4 posts, 20,426 views.

#0
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?
#1
and I want to say.

I use sleep to pause a while using perl script, but entire mushclient paused, not good, you see.

thanks
USA #2
You can use DoAfter in the Send Box. Use the Script Prefix and then DoAfter syntax.
Australia Forum Administrator #3
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.