Lwho()

From TinyMUX
Revision as of 05:39, 29 November 2010 by Ihavenomouth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


FUNCTION: lwho([<boolean>])

Returns a list of the db numbers of connected players. This returns what a 'WHO' or 'DOING' would return. This takes an optional boolean value. '0' is the default, and '1' returns the player list in the form dbref:port. Only wizards may use the port option.

Example

   > WHO
   Player Name          On For Idle  Doing
   Mortal                00:11   0s
   Evinar                00:12   6m
   Wizard                00:32   6s
   3 Players logged in.
   > say lwho()
   You say, "#226 #271 #1"
   > say lwho(0)
   You say, "#226 #271 #1"
   > say lwho(1)
   You say, "#226:20 #271:5 #1:6"

Related Topics

cwho(), conn(), DOING, idle(), WHO, zwho()