|
jtviper456 Novice
Joined: 17 Jan 2003 Posts: 37
|
Posted: 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 |
|
|
|
Rappy Wanderer
Joined: 15 Jul 2005 Posts: 96
|
Posted: Sat Aug 06, 2005 11:53 am |
#ONINPUT {*} {#ALARM +600 {#LAUNCH "this program"}}
-Rappy |
|
_________________ Windows 11 Pro,
cMUD 3.34 |
|
|
|
Belmyrddyn Magician
Joined: 17 Oct 2001 Posts: 371 Location: USA
|
Posted: 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 |
|
|
|
jtviper456 Novice
Joined: 17 Jan 2003 Posts: 37
|
Posted: Sat Aug 06, 2005 9:04 pm |
...
|
|
|
|
|
|