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
mega_
Beginner


Joined: 15 May 2003
Posts: 16
Location: Estonia

PostPosted: Sun Jan 11, 2004 10:59 am   

Keeping track of your idle time
 
I would like to keep track of when did i last entered a command or something similar. I tried searching forums for this but all i saw was #oninput solutions. However this dosent seem to work because oninput launches on everything what is sent to mud. Even stuff that scripts send.

Any other ideas how to do this?
Basically i just want to disable some classes when i am not at keyboard for x minutes.
Thanks in advance for any help.
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Sun Jan 11, 2004 6:13 pm   
 
You could do something like: #oninput {(*)} {#var lastenteredcommand {%time(c)}}

That won't stop it by being set off by scripts though. You could put that trigger in a class, and each time you call on a script, disable the class, and reenable after the script has finished.
Reply with quote
mega_
Beginner


Joined: 15 May 2003
Posts: 16
Location: Estonia

PostPosted: Sun Jan 11, 2004 6:41 pm   
 
That wont work for me, i send stuff to mud all the time and disabling it all the time would be way too huge work...
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