Project

General

Profile

$snick » History » Version 2

Per Amundsen, 08/10/2015 08:05 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
# - The channel.
10 2 Per Amundsen
[N] - If N is not specified, a 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>