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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Thu Jun 17, 2010 7:20 am   

#timer help
 
Okay so i've been messing around with #timer, how do i set how long i want the timer to be and then the tick before it goes off?

I want to set it so that every 60 secs it saves the game for me when i engage said timer with a tick of 5

i've tried

#timer 60 {save} 5

but doesn't seem to do what i want it to do. I'm testing with this so i can set up other options for assisting and such. thanks in advance.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4672
Location: Pensacola, FL, USA

PostPosted: Thu Jun 17, 2010 8:17 am   
 
To set the timer length:

#TS 60

for 60 seconds.

the tick of 5 you speak of only references IF you want it to tell you it is about to tick

#TI 1 {save} 1 5

the first '1' is a Boolean for weather the timer is on (1) or off (0)
the second '1' is also a Boolean, for weather or not the "TICK IN x SECONDS." message is shown
the '5' is how many seconds before the command fires you want the tick message to appear

All in all for what you seem to want, an alarm would be much better:

#ALARM "saver" *60 {save}

which saves ever minute
_________________
Discord: Shalimarwildcat
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Thu Jun 17, 2010 6:04 pm   
 
thanks, #alarm works great for save
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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