From Tapestries MUCK
gen-idle-sweep(#163764FWAM3) more commonly referred to as "idle sweep." It is not called directly, rather, it is called for every player that is connected on a regular basis.
For each player it compares their idle time, and decides if they should be swept from the area based on on a property on the player or on the area he is in.
There are two properties that it scans it's environment for:
- _prefs/idle-message:message appended to name.
The first is the message, the default in much of the Muck being "is taken home to sleep by the local police. (idle-sweep)" which results in: Player is taken home to sleep by the local police. (idle-sweep) For example:
@set #<my parent room's dbref>=_prefs/idle-message:is tossed out the front door by the bouncers. (idle-sweep)
The second controls how many minutes of idle it takes for them to be swept. This should be set long enough to account for Real Life (RL) interruptions, and for people just generally sitting around waiting for stuff to happen, while low enough your area does not gather a pile of people everyone is eying wondering if they are just snooping.
@set #<my parent room's dbref>=_prefs/idle-period:60
This can also be set on players so they don't accidentally leave themselves laying around in public.
It is most common to stick this in a Parent Room for all your public rooms rather than setting it on each individual room.
NOTE: This respects the sweep command's _sweep/immune property. See that program for details.