$snick » History » Version 6
  Per Amundsen, 08/10/2015 08:06 AM 
  
| 1 | 1 | Per Amundsen | _Added in 1.9.0_  | 
|---|---|---|---|
| 2 | |||
| 3 | *$snick(#,[N])*  | 
||
| 4 | |||
| 5 | Returns the Nth selected nickname in the channel listbox on channel #.  | 
||
| 6 | |||
| 7 | *Parameters*  | 
||
| 8 | |||
| 9 | 4 | Per Amundsen | <notextile>#</notextile> - The channel.  | 
| 10 | 6 | Per Amundsen | [N] - If N is not specified, a space separated list of selected nickcnames, if N = 0, total number of selected nicks Otherwise the Nth selected nick.  | 
| 11 | 1 | Per Amundsen | |
| 12 | *Example*  | 
||
| 13 | |||
| 14 | <pre>  | 
||
| 15 | ; Print a list of selected nicknames  | 
||
| 16 | //echo -ag $snick(#)  | 
||
| 17 | |||
| 18 | ; Print number of selected nicknames  | 
||
| 19 | //echo -ag $snick(#, 0)  | 
||
| 20 | |||
| 21 | ; Print the first selected nickname  | 
||
| 22 | //echo -ag $snick(#, 1)  | 
||
| 23 | </pre>  |