|
Takilara Apprentice
Joined: 31 Jan 2002 Posts: 129 Location: Norway
|
Posted: Fri Feb 07, 2003 6:30 pm
Alarm time left |
is there an easy way to read out the time left of an alarm to a variable without running #alarm then trigger on the alarm ?
(i know how to do this in more complex ways, however i just wanna know if there is an easier way, ie #var timeleft 10.timeleft or something like that if 10 was the alarm)
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Feb 13, 2003 7:31 am |
I don't think there's any easier way than the ones you've already found.
LightBulb
Advanced Member |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Thu Feb 13, 2003 4:49 pm |
sounds like a good feature request, maybe post about it in the beta forum?
--------
moon.icebound.net:9000 |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Thu Feb 13, 2003 7:23 pm |
You could manually implement it, of course...
Instead of doing #ALARM +10 {look}, you could do:
#VAR TimeLeft 10
#ALARM *1 {#ADD TimeLeft -1;#IF (@TimeLeft = 0) {look}}
#ALIAS TimeLeft {#SAY There are @TimeLeft seconds remaining on the timer}
But I agree, it would be nice to see as a new feature.
- Charbal |
|
|
|
Takilara Apprentice
Joined: 31 Jan 2002 Posts: 129 Location: Norway
|
Posted: Thu Feb 13, 2003 7:25 pm |
yea ive been dooing it that way, however i wanted an easier way, i hate having those constant alarm second counters
|
|
|
|
|
|