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

m (Bot: Adding a template (template:mIRC on event list))
m (Bot: Fixing links)
Line 33: Line 33:
 
* [[On owner - mIRC|ON OWNER]]
 
* [[On owner - mIRC|ON OWNER]]
 
* [[On voice - mIRC|ON VOICE]]
 
* [[On voice - mIRC|ON VOICE]]
* [[/mode command - mIRC|/mode]]
+
* {{mIRC|/mode}}
 
* [[$mode identifier - mIRC|$mode]]
 
* [[$mode identifier - 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 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