Difference between revisions of "On deop"

From Scriptwiki
Jump to: navigation, search
 
Line 3: Line 3:
 
  on <level>:DEOP:<#[,#]>:<commands>
 
  on <level>:DEOP:<#[,#]>:<commands>
  
$opnick refers to the user who was deoped.
+
[[$opnick]] refers to the user who was deoped.
  
 
== Example ==
 
== Example ==
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
  
[[On_op|On op]] triggers when a user was opped.
+
* [[On_op|On op]] triggers when a user was opped.
 +
* [[Access Levels]]
  
 
[[Category:Events]]
 
[[Category:Events]]

Revision as of 18:58, 5 September 2005

The on DEOP event triggers when a user on a channel is deopped.

on <level>:DEOP:<#[,#]>:<commands>

$opnick refers to the user who was deoped.

Example

Triggers when a user with level owner was deopped in #help.script or #mIRC and ops him again:

on owner:DEOP:#help.script,#mIRC: { mode $chan +o $opnick }

See Also