|
jofu Beginner
Joined: 02 Nov 2003 Posts: 12 Location: USA
|
Posted: Tue Feb 10, 2004 5:53 am
sleep or something like it? |
Is there anything like sleep that can make a script wait a little before it executes the next line?
|
|
|
|
Valint Wanderer
Joined: 12 Nov 2003 Posts: 70 Location: USA
|
Posted: Tue Feb 10, 2004 7:03 am |
There is the #wait command, e.g.,
#SAY First line
#WAIT 5000
#SAY Second line
will pause five seconds between those two commands.
However, #WAIT has its own set of problems, and is generally not recommended. A better way is to use #ALARMs, e.g.,
#SAY First line.
#ALARM +5 {#SAY Second line.} |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Feb 10, 2004 7:46 am |
of course always good to give your alarms name so as not to have a million of them at one time
#ALARM "name" {+5} {#Say Second Line} |
|
|
|
|
|