From TinyMUX
Jump to navigation Jump to search

20px-Function.png channels() provides a list of available comsys channels.


FUNCTION: channels([player])

This function lists channels that you can see, much like @clist. If the argument is omitted or is 'all', then all are returned, otherwise only those owned by the named player are returned.


   > say channels()
   You say, "Wizard, Staff, Guest, Public, Code"
   > say channels(#1)
   You say, "Wizard, Staff, Guest, Public"
   > say channels(me)
   You say, "Code"

Related Topics: comsys, @clist, comalias(), comtitle(), cwho()