$chan.users

Returns an array of channel user nicknames
Syntax

$chan.users([window_id],[mask],[flags])

Description
Returns an array of nicknames on the channel specified by [window_id].
If [window_id] is empty , the current window is used.
If the window designated by [window_id] is not a channel a warning is printed and an empty array is returned.
If [mask] is given , each user is added to the array only if matches the [mask].
[flags] may contain a subset of the letters "ovhnmi":
"ovhn" are mode flags: the users are added to the array only if they are operators ('o'), voiced users ('v'), half-operators ('h') or unflagged ('n') users. (Unflagged means not operators , not voiced and not halt-operators). If none of the "ovhn" flags are used, KVIrc behaves like all four were passed.
The flag 'm' causes the entire user masks to be added to the array entries , as known by KVIrc at the moment of this function call.
The flag 'i' causes KVIrc to invert the match and add only the users that do NOT match [mask].

Main index, Function index
KVirc 3.0.0 documentation
Generated by diego at Sat Jul 13 15:37:55 2002