Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: 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)


Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: 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
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: 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
Reply with quote
Takilara
Apprentice


Joined: 31 Jan 2002
Posts: 129
Location: Norway

PostPosted: 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

Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net