On op

From Scriptwiki
Revision as of 18:59, 5 September 2005 by Tovrleaf (talk | contribs) (typo)

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

The on OP event triggers when a user on a channel is opped.

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

$opnick refers to the user who was oped.


Triggers when a user with level 999 was opped in #help.script or #mIRC and deops him again:

on 999:OP:#help.script,#mIRC: { mode $chan -o $opnick }

See Also