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

(See Also)
Line 1: Line 1:
 
The '''ON DEVOICE''' event triggers whenever a user on a channel has had their [[Voice channel - IRC|voice]] privileges removed.
 
The '''ON DEVOICE''' event triggers whenever a user on a channel has had their [[Voice channel - IRC|voice]] privileges removed.
 +
 +
This event also fills the [[$vnick identifier - mIRC|$vnick]] identifier with the nickname of the user who was removed from [[Channel voice - IRC|Channel voice]] status. The [[$nick identifier - mIRC|$nick]] identifier points to the user who removed them.
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 21:22, 24 June 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/01/97

See Also