Project

General

Profile

$admnick » History » Version 6

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