Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Con-gohome

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
It is most common to stick this in a [[Parent Room]] for all your public rooms rather than setting it on each individual room.
It is most common to stick this in a [[Parent Room]] for all your public rooms rather than setting it on each individual room.
 +
 +
[[Category:Publicly Usable MUF]]

Revision as of 18:13, 30 March 2007

con-gohome(#3306FWLM3) more commonly referred to as "auto sweep." It is not called directly, rather, it is called for every player that disconnects from room #0 in _disconnect/go-home.

After a player disconnects, it checks to see if they are in an areas with an auto-sweep. If they are, it determines how long the delay should be, and sleeps. If the player has reconnected by the time it wakes, it simply exits, otherwise it sweeps the player home.

Controlling Autosweep

There are two properties that it scans it's environment for:

  • _prefs/sleep-message:message appended to name.
  • _prefs/sleep-period:minutes.

The first is the message, the default in much of the Muck being "is taken home to sleep by the local police." which results in: Player is taken home to sleep by the local police.

The second controls how many minutes it takes after the player being disconnected for them to be swept.

It is most common to stick this in a Parent Room for all your public rooms rather than setting it on each individual room.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox