Project

General

Profile

$onick » History » Version 3

Per Amundsen, 11/21/2015 11:56 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
18
_Added in 2.0_
19
20 1 Per Amundsen
*$onick(#,N)*
21
22 3 Per Amundsen
Returns the Nth owner nick.
23 2 Per Amundsen
24
*Parameters*
25
26
<notextile># - The channel.</notextile>
27
N - If N = 0, number of nicks, otherwise the Nth nick.
28
29
*Example*
30
31
<pre>
32
echo -ag There is $onick(#,0) owner users
33
34
echo -ag First owner nick is $onick(#,1)
35
</pre>