Project

General

Profile

$snick » History » Version 5

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 5 Per Amundsen
[N] - If N is not specified, a space separated list of selected nickcnames.
11
      if N = 0, total number of selected nicks.
12
      Otherwise the Nth selected nick.
13 1 Per Amundsen
14
*Example*
15
16
<pre>
17
; Print a list of selected nicknames
18
//echo -ag $snick(#)
19
20
; Print number of selected nicknames
21
//echo -ag $snick(#, 0)
22
23
; Print the first selected nickname
24
//echo -ag $snick(#, 1)
25
</pre>