# $userlist.selected Returns the list of selected nicknames in the channel's userlist
Usage
    $userlist.selected
    $userlist.selected(<window_id>)
Description
The form with the <window id> parameter returns an array of the selected nicknames in the channel designated by <window id>. The form without parameters returns an array of the selected nicknames in the current window (assuming that it is a channel), thus it is equivalent to calling $userlist.selected($window). The returned value may be assigned to a dictionary too: it will be used to simulate an array. In a non-array/dictionary context it returns the selected nicknames as a comma separated list.
Syntax Specification
    <array> $userlist.selected
    <array> $userlist.selected(<window_id:string>)
Examples
        echo $userlist.selected
        foreach(%i,$userlist.selected)echo %i
See also
$window, $channel, window naming conventions

Index, Functions

KVIrc 4.2.0.6190 Documentation
Generated by builduser at Mon Mar 13 18:15:52 2017