From WikiChip
Difference between revisions of "mirc/on events/on devoice"
m (bot: cat fixing naming) |
m (Bot: adding missing title) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | The '''ON DEVOICE''' event triggers whenever a user on a channel has had their | + | {{mirc title|On Devoice - Events}} |
− | + | The '''ON DEVOICE''' event triggers whenever a user on a channel has had their voice privileges (mode -v) removed. | |
− | |||
== Synopsis == | == Synopsis == | ||
Line 7: | 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 == |
Latest revision as of 20:13, 15 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The ON DEVOICE event triggers whenever a user on a channel has had their voice privileges (mode -v) removed.
Contents
Synopsis[edit]
ON <level>:DEVOICE:<#[,#]>:<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]
$vnick[edit]
Returns the nickname of the user being devoiced.
Example[edit]
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[edit]
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[edit]
mIRC on event list