Gammon Forum
Entire forum
MUSHclient
General
n00b at work
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| SuprAzn
(5 posts) bio
|
Date
| Thu 05 Feb 2004 07:46 AM (UTC) |
Message
| Need the wait command....you know..to make a trigger/alias wait for x seconds before executing the next command | top |
|
Posted by
| Nick Gammon
Australia (22,982 posts) bio
Forum Administrator |
Date
| Reply #1 on Thu 05 Feb 2004 07:52 AM (UTC) |
Message
| |
Posted by
| SuprAzn
(5 posts) bio
|
Date
| Reply #2 on Thu 05 Feb 2004 08:04 AM (UTC) |
Message
| alright....lets try this one ore time, cuz im dumb....
alias is: set
alias is set to do :
Channel earth
*insert wait command here*
channel fire
*insert wait command here*
channel water
*insert wait command here*
channel air
*insert wait command here*
the reason for the wait command is taht i have a "balance timer"...what command do i use to type set and have it do command 1, wait 3 seconds, do command 2, etc etc..
I appreciate the help
| top |
|
Posted by
| Meerclar
USA (733 posts) bio
|
Date
| Reply #3 on Thu 05 Feb 2004 08:31 AM (UTC) |
Message
| channel water
DoAfter <delay timer>, "channel earth"
etc
|
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | top |
|
Posted by
| SuprAzn
(5 posts) bio
|
Date
| Reply #4 on Thu 05 Feb 2004 08:35 AM (UTC) Amended on Thu 05 Feb 2004 08:39 AM (UTC) by SuprAzn
|
Message
| Error number: -2146828275
Event: Execution of line 1 column 1
Description: Type mismatch: 'channel'
Line in error:
Called by: Immediate execution
Help | top |
|
Posted by
| Nick Gammon
Australia (22,982 posts) bio
Forum Administrator |
Date
| Reply #5 on Fri 06 Feb 2004 09:12 PM (UTC) |
Message
| Set the alias to "send to script". Then, in the send box do this:
Send "channel earth"
DoAfter 3, "channel fire"
DoAfter 6, "channel water"
DoAfter 9, "channel air"
The DoAfter sends a command after the specified number of seconds (from the script execution, not from each other) so in this case the commands are sent at 3-second intervals.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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,082 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
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.