Project

General

Profile

$hnick » History » Version 7

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

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$hnick*
4
5
Returns the nick that was (de)opped during a [[on HELP]] on [[on DEHELP]] [[Scripting_Events|event]].
6
7 7 Per Amundsen
_See also [[$nhnick]] ._
8
9 1 Per Amundsen
*Example*
10
11
<pre>
12
on *:HELP:*:echo -ag The nick opped is $hnick
13
14
on *:DEHELP:*:echo -ag The nick deopped is $hnick
15
</pre>
16
17
-----------------------------------------------------------------------------
18
19 2 Per Amundsen
_Added in 2.0_
20
21 1 Per Amundsen
*$hnick(#,N)*
22
23 4 Per Amundsen
Returns the Nth help nick.
24 7 Per Amundsen
25
_See also [[$nhnick]] ._
26 2 Per Amundsen
27
*Parameters*
28
29 6 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 2 Per Amundsen
34
*Example*
35
36
<pre>
37 5 Mr. BS
//echo -ag There is $hnick(#,0) help users
38 2 Per Amundsen
39 5 Mr. BS
//echo -ag First help nick is $hnick(#,1)
40 2 Per Amundsen
</pre>