From WikiChip
Difference between revisions of "mirc/on events/on devoice"
< mirc‎ | on events

m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
m (Bot: Fixing compatibility)
Line 22: Line 22:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v4.72
+
{{mIRC compatibility|4.72}}
  
 
== See Also ==
 
== See Also ==

Revision as of 02:32, 6 July 2014

The ON DEVOICE event triggers whenever a user on a channel has had their voice privileges removed.

This event also fills the $vnick identifier with the nickname of the user who was removed from Channel voice status. The $nick identifier points to the user who removed them.

Synopsis

ON <level>:DEVOICE:<#[,#]>:<commands>

Parameters

<level>The level for the event to trigger..

<matchtext>The text to match in the event..

<#[,#]>The channel, or channels where the event listens.

#Any channel if left by itself, otherwise refers to a specific channel
[,#]List of specific channel names

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