Project

General

Profile

$opnick » History » Version 3

Per Amundsen, 11/21/2015 11:56 PM

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