MONITOR

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


FLAG: MONITOR (M)

Objects:

When set, anytime the object hears something from someone who passes the object's use lock, the object's attributes are scanned for attributes of the form '^<pattern>:<commandlist>'. If the message matches the wildcarded <pattern>, then <commandlist> is executed, substituting %0 for the text that matched the first wildcard, %1 for the second, and so on. All matching attributes are executed, not just the first.

Parents of MONITOR objects are never checked for ^-patterns.

Players:

When set on a player, this flag notifies that player whenever someone connects or disconnects from the MUSH. It is valid only for players, and must be set by a wizard.

Related Topics: LISTENING, @parent, Substitutions.