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
RonVarnum
Newbie


Joined: 26 Dec 2001
Posts: 1
Location: USA

PostPosted: Wed Dec 26, 2001 5:44 pm   

Tick Timer
 
Is there a way to use the tick timer to change a variable each time it changes? I am trying to make a clock. The mud I spend my time on uses a tick that is 60 seconds long. This means that a rl minute is equal to one hour game time, a day is equal to 24 minutes, and so on. If I can use the tick timer to change a variable each second that will be the minutes, and when a tick comes I can change the hour. If the hour is greater than 12 I change the ampm, and put the hour to 1. This is all dependent on accessing the tick timer, or is there an easier way to do this? Maybe the wait command? Anyway any help will be appreciated.

Thanks all

Ron Varnum
Reply with quote
Blerghass
Beginner


Joined: 25 Nov 2001
Posts: 26
Location: USA

PostPosted: Wed Dec 26, 2001 7:02 pm   
 
Using the %tick variable will probably be sufficient for what you want to do. To do the hour thing, you just need to keep track of it with a separate variable. You can have zMUD do something when the tick timer hits 0 with the "Tick Timer" dialog box.
Reply with quote
SHASCO
Novice


Joined: 29 May 2001
Posts: 48
Location: USA

PostPosted: Wed Dec 26, 2001 11:57 pm   
 
#ALARM would be another alternative.
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