Project

General

Profile

$hnick » History » Version 6

Per Amundsen, 02/23/2023 01:35 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
*Example*
8
9
<pre>
10
on *:HELP:*:echo -ag The nick opped is $hnick
11
12
on *:DEHELP:*: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
*$hnick(#,N)*
20
21 4 Per Amundsen
Returns the Nth help nick.
22 2 Per Amundsen
23
*Parameters*
24
25 6 Per Amundsen
table(ktable).
26
|*Parameter*|*Description*|
27
| <notextile># | The channel.</notextile> |
28
| N | If N = 0, number of nicks, otherwise the Nth nick. |
29 2 Per Amundsen
30
*Example*
31
32
<pre>
33 5 Mr. BS
//echo -ag There is $hnick(#,0) help users
34 2 Per Amundsen
35 5 Mr. BS
//echo -ag First help nick is $hnick(#,1)
36 2 Per Amundsen
</pre>