From WikiChip
mirc/on events/on devoice
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/01/97
See Also
mIRC on event list