Project

General

Profile

$admnick » History » Version 8

Per Amundsen, 02/23/2023 06:36 PM

1 2 Per Amundsen
_Added in 2.0_
2 1 Per Amundsen
3
*$admnick*
4
5
Returns the nick that was (de)opped during a [[on ADMIN]], on [[on DEADMIN]] [[Scripting_Events|event]].
6
7
*Example*
8
9
<pre>
10
on *:ADMIN:*:echo -ag The nick opped is $admnick
11
12
on *:DEADMIN:*:echo -ag The nick deopped is $admnick
13
</pre>
14
15
-----------------------------------------------------------------------------
16
17 3 Per Amundsen
_Added in 2.0_
18
19 1 Per Amundsen
*$admnick(#,N)*
20
21 3 Per Amundsen
Returns the Nth admin nick.
22 6 Per Amundsen
23 8 Per Amundsen
_See also [[$nhnick]], [[$hnick]], [[$nonick]], [[$onick]], [[$nadmnick]], [$nvnick]], [[$vnick]]._
24 3 Per Amundsen
25
*Parameters*
26
27 1 Per Amundsen
table(ktable).
28 5 Per Amundsen
|*Parameter*|*Description*|
29 7 Per Amundsen
| <notextile>#</notextile> | The channel. |
30 5 Per Amundsen
| N | If N = 0, number of nicks, otherwise the Nth nick. |
31 3 Per Amundsen
32
*Example*
33
34
<pre>
35 4 Mr. BS
//echo -ag There is $admnick(#,0) admin users
36 3 Per Amundsen
37 4 Mr. BS
//echo -ag First admin nick is $admnick(#,1)
38 3 Per Amundsen
</pre>