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
Amok
Beginner


Joined: 31 Jul 2003
Posts: 22

PostPosted: Sat Aug 02, 2003 5:15 pm   

Time Keeper
 
Anyone know how to make it set the time when you start a run and then when you call upon it to check the set time against the current time and tell you how long its been since you started running?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Aug 02, 2003 6:39 pm   
 
#VAR StartTime {%secs}
#SHOW {Elapsed time = %eval((%secs - @StartTime)/1000) seconds}

If you go past midnight, adjust the result by adding the number of seconds in a day (60*60*24).
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