On deop

From Scriptwiki
Revision as of 13:53, 7 July 2007 by Vliedel (talk | contribs) (yeah now its ok 2 example_s_)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.


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 }

Triggers when you are deopped on #channel, and ask Q or L for op:

on !*:DEOP:#channel:{ if ($opnick == $me) && ((Q ison $chan) || (L ison $chan)) { msg $v1 op $chan } }

See Also