Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Dec 23, 2002 11:26 pm |
If you want to perform some specific action after a set number of seconds, then you could do this, for example:
#ALARM {+5} {Commands to execute after 5 seconds}
Otherwise, if what you want is just the countdown, then you need an alarm that goes off every second and disable it once the countdown stops:
#ALARM "countdown" {*1} {#ADD counter -1;#IF (@counter < 1) {#T- countdown}}
To start the countdown, just set the value of @counter to whatever you want and enable the alarm.
Kjata |
|