Cwho()

From TinyMUX
Jump to navigation Jump to search

20px-Function.png 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().