pc_in_world

Settable:
no
Arguments:
(1) none
(2) string
Return Value:
(1) character array
(2) character

The first form of this function returns a complete list of all players currently logged on. The second form returns the player whose name matches the given string, if there is one, or null if there isn't.