MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: Idling?
On Wed, 1 Nov 1995, Rich Connamacher wrote:
> 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 might also want to concider using $wiz_utils:boot_idlers if you're
using the LambdaCore, I haven't really looked at it in a while but I
think it only boots people if there are over a certain number logged on
or if the lag is high.
*****************************************************************************
* Don Schwarz <darkowl@tezcat.com> * PGP fingerprint: *
* http://www.tezcat.com/~darkowl * 6E 3E B9 38 CC C2 CA CD *
* -->Come to EnigMOO (junior.wariat.org 7777)<-- * 4A ED 48 66 27 FA 1C 37 *
* Dark_Wiz @ EnigMOO, ForestMOO ***************************
* Dark_Owl @ everymoo "Don't eat that, the spiders haven't hatched yet." *
*****************************************************************************
References:
- Re: Idling?
- From: Rich Connamacher <phantom@baymoo.sfsu.edu>
Home |
Subject Index |
Thread Index