Project

General

Profile

$snick » History » Revision 3

Revision 2 (Per Amundsen, 08/10/2015 08:05 AM) → Revision 3/8 (Per Amundsen, 08/10/2015 08:05 AM)

_Added in 1.9.0_ 

 *$snick(#,[N])* 

 Returns the Nth selected nickname in the channel listbox on channel #. 

 *Parameters* 

 <notextitle>#</notextile> # - The channel. 
 [N] - If N is not specified, a list of selected nickcnames, if N = 0, total number of selected 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>