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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

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

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

still a "wait" problem

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Quakerwang   (4 posts)  [Biography] bio
Date Thu 27 Mar 2008 12:08 PM (UTC)  quote  ]
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)  quote  ]
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,867 posts)  [Biography] bio   Moderator
Date Reply #2 on Thu 27 Mar 2008 03:25 PM (UTC)  quote  ]
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  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Thu 27 Mar 2008 08:44 PM (UTC)  quote  ]
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.


1,689 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]