From WikiChip
Difference between revisions of "mirc/on events/on help"
Line 1: | Line 1: | ||
{{mIRC Guide}} | {{mIRC Guide}} | ||
− | The '''ON HELP''' event triggers whenever a user on a channel has been elevated to | + | The '''ON HELP''' event triggers whenever a user on a channel has been elevated to helper/halfop (mode +h) status in a channel. |
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
Line 8: | Line 6: | ||
== Parameters == | == Parameters == | ||
− | + | * '''<level>''' - The corresponding {{mIRC|access levels}} for the event to trigger. | |
− | + | * '''<*><#>''' - The place, or places where the event listens, you can specify specific name of window, seperate them by comma. | |
− | + | ** '''*''' - Any channel window | |
+ | ** '''#''' - Any channel window | ||
+ | * '''<commands>''' - The commands to be performed when the event triggers | ||
− | + | == {{mIRC|local identifiers}} == | |
− | + | === {{mIRC|$hnick}} === | |
− | + | Returns the nickname of the user being helped. | |
== Example == | == Example == |
Revision as of 07:31, 11 February 2016
Template:mIRC Guide The ON HELP event triggers whenever a user on a channel has been elevated to helper/halfop (mode +h) status in a channel.
Contents
Synopsis
ON <level>:HELP:<#[,#]>:<commands>
Parameters
- <level> - The corresponding access levels for the event to trigger.
- <*><#> - The place, or places where the event listens, you can specify specific name of window, seperate them by comma.
- * - Any channel window
- # - Any channel window
- <commands> - The commands to be performed when the event triggers
local identifiers
$hnick
Returns the nickname of the user being helped.
Example
Acknowledge when a user has been elevated to helper:
ON *:HELP:#:msg # Congratulations, $hnick $+ ! You are now a helper thanks to $nick $+ .
Compatibility
Added: mIRC v5.4
Added on: 23 Jun 1998
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
mIRC on event list