From WikiChip
On Voice - Events - mIRC
< mirc‎ | on events

The ON VOICE event triggers whenever a user on a channel has been elevated to voice.

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

Synopsis[edit]

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

Parameters[edit]

<level>The corresponding access levels for the event to trigger.

<#[,#]>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[edit]

Acknowledge when a user has had their user level elevated to voice:

ON *:VOICE:#:msg # $vnick now 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]