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
jtviper456
Novice


Joined: 17 Jan 2003
Posts: 37

PostPosted: Sat Aug 06, 2005 8:26 am   

Inactive Checking Script
 
I'm wandering if there is a way to have ZMud execute command(s) if there has been no user activity for 10 minutes. I've thumbed through the help files, and searched the boards and have found nothing of this sort. Any suggestions/comments would be greatly appreciated!
Thanks beforehand
Jtviper456 Idea
Reply with quote
Rappy
Wanderer


Joined: 15 Jul 2005
Posts: 96

PostPosted: Sat Aug 06, 2005 11:53 am   
 
#ONINPUT {*} {#ALARM +600 {#LAUNCH "this program"}}

-Rappy
_________________
Windows 11 Pro,
cMUD 3.34
Reply with quote
Belmyrddyn
Magician


Joined: 17 Oct 2001
Posts: 371
Location: USA

PostPosted: Sat Aug 06, 2005 2:15 pm   
 
No, that would create a new alarm every time you entered something on the command line. You'd need to reset the alarm on every input.
You'll need something like this:
#ONINPUT {*} {#ALARM "inactivity" +600 {#ECHO Inactive for 10 minutes}}

That would keep resetting the same alarm, rather than create a new alarm.
_________________
Belmyrddyn
Reply with quote
jtviper456
Novice


Joined: 17 Jan 2003
Posts: 37

PostPosted: Sat Aug 06, 2005 9:04 pm   
 
...
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