MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: Idling?



On Wed, 1 Nov 1995, James Renken wrote:

> Is there any way to automatically kick off people who have been idle for more 
> than an hour?

The basic method to do that is to run a task inbedded in a while (1) 
loop, to continuously scan the connected_players() (every 5 minutes would 
be good)  for people whose idle time is greater than 3600 seconds.  I'll 
leave the actual programming to you.. it's a fairly simple verb to write.

You may want to make it check some other things, like if the player is a 
wizard or is in a 'boot_exempt' property somewhere.




Follow-Ups: References:

Home | Subject Index | Thread Index