$snick » History » Revision 6
Revision 5 (Per Amundsen, 08/10/2015 08:06 AM) → Revision 6/8 (Per Amundsen, 08/10/2015 08:06 AM)
_Added in 1.9.0_ *$snick(#,[N])* Returns the Nth selected nickname in the channel listbox on channel #. *Parameters* <notextile>#</notextile> - The channel. [N] - If N is not specified, a space separated list of selected nickcnames, nickcnames. if N = 0, total number of selected nicks nicks. Otherwise the Nth selected nick. *Example* <pre> ; Print a list of selected nicknames //echo -ag $snick(#) ; Print number of selected nicknames //echo -ag $snick(#, 0) ; Print the first selected nickname //echo -ag $snick(#, 1) </pre>