n00b at work

Posted by SuprAzn on Thu 05 Feb 2004 07:46 AM — 6 posts, 23,245 views.

#0
Need the wait command....you know..to make a trigger/alias wait for x seconds before executing the next command
Australia Forum Administrator #1
You need "doafter". See this page:

http://www.gammon.com.au/scripts/doc.php?function=DoAfter

You need to make the trigger/alias "send to script" and in the "send" box type something like:

DoAfter 10, "eat food"
#2
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
USA #3
channel water
DoAfter <delay timer>, "channel earth"
etc
#4
Error number: -2146828275
Event: Execution of line 1 column 1
Description: Type mismatch: 'channel'
Line in error:

Called by: Immediate execution


Help
Amended on Thu 05 Feb 2004 08:39 AM by SuprAzn
Australia Forum Administrator #5
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.