|
D0nut Beginner
Joined: 04 Jul 2007 Posts: 23
|
Posted: Wed Jul 04, 2007 4:21 pm
#wait syntax? |
Hi, I need some help. In this trigger I'm trying to make I insert #wait between some commands, except the delay lasts only 2-3 seconds. I tried typing, say, #wait 5s but that doesn't work, can someone tell me the proper syntax? I want to manipulate the time delay.
|
|
|
|
forren Novice
Joined: 26 Apr 2007 Posts: 44
|
Posted: Wed Jul 04, 2007 4:27 pm |
It's in Milliseconds, so it would be #WAIT 4000.
Just use #ALARM though - #ALARM "namehere" +4 {yourcommandshere} |
|
|
|
D0nut Beginner
Joined: 04 Jul 2007 Posts: 23
|
Posted: Wed Jul 04, 2007 5:05 pm |
Oh I see, thanks.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Jul 04, 2007 11:13 pm |
Is this for dealing with some sort of queue problems (ie, inputting too many commands at once) or just something like waiting for roundtime to end so that your commands will go through instead of bouncing back error messages?
Depending on the task to be handled, you might be better served by adding a wait-state condition to your trigger instead of using an alarm. A wait-state basically takes all of the #WAIT functionality and puts it into a trigger form without having any of the problems that #WAIT does. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|