From WikiChip
Difference between revisions of "mirc/on events/on help"
(→See Also) |
m (Bot: adding missing title) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''ON HELP''' event triggers whenever a user on a channel has been elevated to | + | {{mirc title|On Help - Events}} |
+ | 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 5: | 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 == | ||
− | Acknowledge when | + | Acknowledge when a user has been elevated to helper: |
− | <source lang="mIRC">ON *:HELP:#:msg # Congratulations, $ | + | <source lang="mIRC">ON *:HELP:#:msg # Congratulations, $hnick $+ ! You are now a helper thanks to $nick $+ .</source> |
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.4}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
− | |||
* [[On deop - mIRC|ON DEOP]] | * [[On deop - mIRC|ON DEOP]] | ||
+ | * [[On deowner - mIRC|ON DEOWNER]] | ||
+ | * [[On devoice - mIRC|ON DEVOICE]] | ||
* [[On op - mIRC|ON OP]] | * [[On op - mIRC|ON OP]] | ||
− | * [[ | + | * [[On owner - mIRC|ON OWNER]] |
− | * [[ | + | * [[On voice - mIRC|ON VOICE]] |
+ | * {{mIRC|/mode}} | ||
+ | * {{mIRC|$mode}} | ||
+ | {{mIRC on event list}} | ||
− | [[Category:mIRC on events]] | + | [[Category:mIRC on events|help]] |
Latest revision as of 19:17, 15 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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[edit]
ON <level>:HELP:<#[,#]>:<commands>
Parameters[edit]
- <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[edit]
$hnick[edit]
Returns the nickname of the user being helped.
Example[edit]
Acknowledge when a user has been elevated to helper:
ON *:HELP:#:msg # Congratulations, $hnick $+ ! You are now a helper thanks to $nick $+ .
Compatibility[edit]
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[edit]
mIRC on event list