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 ➜ MUSHclient ➜ General ➜ making aliases/ speedwalks

making aliases/ speedwalks

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


Posted by Rob   (12 posts)  Bio
Date Thu 06 Sep 2001 04:44 PM (UTC)
Message
Is there a way in either an alias or a speedwalk to have the client delay some defined ammount of time prior to sending the next command? I could have sworn I saw something about this but I can't find it now :)

Thanks!
--
Rob
Top

Posted by Hlao-roo   (2 posts)  Bio
Date Reply #1 on Thu 06 Sep 2001 04:49 PM (UTC)
Message
Yup. Just go to Input > Commands and there should be a delay box for how long each command is sent between speedwalk actions.
Top

Posted by Rob   (12 posts)  Bio
Date Reply #2 on Mon 10 Sep 2001 07:55 PM (UTC)
Message
That won't help, I need to insert 1 pause, like once. =) I wanna insert a pause, not slow down my whole alias =)
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 10 Sep 2001 10:30 PM (UTC)
Message
Ah, OK. There isn't a simple "pause" command in a script, because such a thing would pause the entire client, which is probably not what you want.

What I would do is make the alias call a script. The script would send whatever commands you want before the pause (using world.send) and then create a timer (world.addtimer). The timer would be a "one-shot" timer (firing once only), which would then send whatever additional commands you wanted when it fired.

The timer can fire after any time you like (eg. 1 second, 1 hour), and then send additional commands to the world, or call another script, or both.

For examples of making such a timer do a search for "addtimer" in the forum search.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Rob   (12 posts)  Bio
Date Reply #4 on Thu 13 Sep 2001 04:24 PM (UTC)
Message
Thanks Nick =) I appreciate the help.

Hehe, I'm slowly converting a portion of the population of the mud I play on over to MUSHclient. impressive, considering the admin of the mud write one of the competing clients. *grin*

-Rob
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.


15,092 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.