$onick » History » Version 5
Per Amundsen, 02/23/2023 06:29 PM
1 | 1 | Per Amundsen | _Added in 2.0_ |
---|---|---|---|
2 | |||
3 | *$onick* |
||
4 | |||
5 | Returns the nick that was (de)opped during a [[on OWNER]], on [[on DEOWNER]] [[Scripting_Events|event]]. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | on *:OWNER:*:echo -ag The nick opped is $onick |
||
11 | |||
12 | on *:DEOWNER:*:echo -ag The nick deopped is $onick |
||
13 | </pre> |
||
14 | |||
15 | ----------------------------------------------------------------------------- |
||
16 | |||
17 | 2 | Per Amundsen | _Added in 2.0_ |
18 | |||
19 | 1 | Per Amundsen | *$onick(#,N)* |
20 | |||
21 | 3 | Per Amundsen | Returns the Nth owner nick. |
22 | 2 | Per Amundsen | |
23 | 5 | Per Amundsen | _see also [[$nonick]]._ |
24 | |||
25 | 2 | Per Amundsen | *Parameters* |
26 | |||
27 | <notextile># - The channel.</notextile> |
||
28 | N - If N = 0, number of nicks, otherwise the Nth nick. |
||
29 | |||
30 | *Example* |
||
31 | |||
32 | <pre> |
||
33 | echo -ag There is $onick(#,0) owner users |
||
34 | |||
35 | echo -ag First owner nick is $onick(#,1) |
||
36 | </pre> |