From WikiChip
Difference between revisions of "mirc/on events/on devoice"
Line 1: | Line 1: | ||
{{mIRC Guide}} | {{mIRC Guide}} | ||
− | The '''ON DEVOICE''' event triggers whenever a user on a channel has had their | + | The '''ON DEVOICE''' event triggers whenever a user on a channel has had their voice privileges (mode -v) removed. |
− | |||
− | |||
== 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|$vnick}} === | |
− | + | Returns the nickname of the user being devoiced. | |
== Example == | == Example == |
Revision as of 12:42, 9 February 2016
Template:mIRC Guide The ON DEVOICE event triggers whenever a user on a channel has had their voice privileges (mode -v) removed.
Contents
Synopsis
ON <level>:DEVOICE:<#[,#]>:<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
$vnick
Returns the nickname of the user being devoiced.
Example
Acknowledge when a user has had their voice user level removed:
ON *:DEVOICE:#:msg # Uh oh, looks like $vnick no longer has a voice, thanks to $nick $+ .
Compatibility
Added: mIRC v4.72
Added on: 09 Jan 1997
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