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
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Sun Jan 05, 2003 8:27 pm   

Timer
 
Ok, ran into another small problem. I have a status bar called Roundtime that whenever I get roundtime it will set that to the RT. So if the roundtime was 10 then the status bar would read Roundtime: 10
What I want is for it to count down to 0. So after one second it would say Roundtime: 9, etc. I am storing the round time in a variable @RTVar
If anyone can help please do
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Jan 05, 2003 11:40 pm   
 
#ALA "countdown" *1 {#IF (@RTVar > 0) {#ADD RTVar -1} {#T- countdown}}

Add the command #T+ countdown to the trigger that sets the variable.

LightBulb
Senior Member
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