Cwho()

From TinyMUX
Revision as of 05:18, 17 January 2006 by Ian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cwho() returns a list of dbrefs for the objects subscribed to the specified comsys channel.

Description

FUNCTION: cwho(<channel> [, <select>])

Returns a list of dbrefs from that channel. Use of this function is limited to Wizards and channel owners. If not given, <select> defaults to 'on', but if given, may be any of the following:

   on  - all objects and connected players who are 'on' the channel.
   off - all objects and connected players who are 'off' the channel.
   all - all objects and players associated with the channel.

Example

   > say cwho(Public)
   You say "#13 #11"

Related Topics: comsys, channel alias, channels(), comalias(), comtitle().