Ports()

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


FUNCTION: ports(<player name>)

This function returns the list of descriptors ("ports") that a player, specified by full player name, or by dbref, is connected to. Wizards can use this function on anyone, but mortals can only use it on themselves.

If the <player> is not connected, an empty list is returned. Otherwise, a list of ports is returned in order of most recent connection to least recent connection. These ports correspond to those given by the SESSION command.

Related Topics

lports()