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


Joined: 10 Jan 2002
Posts: 8

PostPosted: Sat Oct 05, 2002 3:12 am   

Idle timer
 
How would I go about creating an idle timer that resets as soon as I enter any command? A mud I play on has an auto kick time of five minutes, so I want to create a timer that will just do an #echo or something like that after four and a half minutes of not entering anything to the mud. I know how to use a timer, but how would I get it to reset on any sort of input?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Oct 05, 2002 5:05 am   
 
Why bother resetting the timer? Just pick a simple command (look) and do it every 4 minutes or so whether you've done anything else or not.
#ALA *4:00 {look}

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