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

m (Bot: Fixing links)
m (Bot: Fixing links)
Line 1: Line 1:
 
The '''ON VOICE''' event triggers whenever a user on a channel has been elevated to [[Voice channel - IRC|voice]].
 
The '''ON VOICE''' event triggers whenever a user on a channel has been elevated to [[Voice channel - IRC|voice]].
  
This event also fills the [[$vnick identifier - mIRC|$vnick]] identifier with the nickname of the user who was added to [[Channel voice - IRC|Channel voice]] status. The [[$nick identifier - mIRC|$nick]] identifier points to the user who added them.
+
This event also fills the {{mIRC|$vnick}} identifier with the nickname of the user who was added to [[Channel voice - IRC|Channel voice]] status. The {{mIRC|$nick}} identifier points to the user who added them.
  
 
== Synopsis ==
 
== Synopsis ==
Line 34: Line 34:
 
* [[On owner - mIRC|ON OWNER]]
 
* [[On owner - mIRC|ON OWNER]]
 
* {{mIRC|/mode}}
 
* {{mIRC|/mode}}
* [[$mode identifier - mIRC|$mode]]
+
* {{mIRC|$mode}}
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
 
[[Category:MIRC on events]]
 
[[Category:MIRC on events]]

Revision as of 20:08, 5 July 2014

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

ON <level>:VOICE:<#[,#]>:<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 user level elevated to voice:

ON *:VOICE:#:msg # $vnick now has a voice, thanks to $nick $+ .

Compatibility

Added: mIRC v4.72

Added On: 09/01/97

See Also