Project

General

Profile

$snick » History » Version 8

Per Amundsen, 02/23/2023 07:44 PM

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 8 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| <notextile>#</notextile> | The channel. |
12
| [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. |
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>