[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  Programming
. -> [Folder]  General
. . -> [Subject]  still a "wait" problem

still a "wait" problem

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


Posted by Quakerwang   (4 posts)  [Biography] 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?
[Go to top] top

Posted by Quakerwang   (4 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[Go to top] 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] Refresh page

Go to topic:           Search the forum


[Go to top] 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.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]