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

m (Bot: Fixing links)
m (Bot: Fixing links)
Line 1: Line 1:
 
The '''ON DEOP''' event triggers whenever a user on a channel has had their [[Channel operator - IRC|channel operator]] privileges removed.
 
The '''ON DEOP''' event triggers whenever a user on a channel has had their [[Channel operator - IRC|channel operator]] privileges removed.
  
This event also fills the [[$opnick identifier - mIRC|$opnick]] identifier with the nickname of the user who was removed from [[Channel operator - IRC|Channel operator]] status. The [[$nick identifier - mIRC|$nick]] identifier points to the user who removed them.
+
This event also fills the {{mIRC|$opnick}} identifier with the nickname of the user who was removed from [[Channel operator - IRC|Channel operator]] status. The {{mIRC|$nick}} identifier points to the user who removed them.
  
 
== Synopsis ==
 
== Synopsis ==
Line 34: Line 34:
 
* [[On voice - mIRC|ON VOICE]]
 
* [[On voice - mIRC|ON VOICE]]
 
* {{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:05, 5 July 2014

The ON DEOP event triggers whenever a user on a channel has had their channel operator privileges removed.

This event also fills the $opnick identifier with the nickname of the user who was removed from Channel operator status. The $nick identifier points to the user who removed them.

Synopsis

ON <level>:DEOP:<#[,#]>:<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

Let the channel know when a user's operator privilege has been removed:

ON *:DEOP:#:msg # Oh no, $opnick has had their operator privilege removed :(

Compatibility

Added: mIRC v2.1a

Added On: 28/02/95

See Also