Difference between revisions of "On op"
From Scriptwiki
Line 3: | Line 3: | ||
on <level>:OP:<#[,#]>:<commands> | on <level>:OP:<#[,#]>:<commands> | ||
− | $opnick refers to the user who was oped. | + | [[$opnick]] refers to the user who was oped. |
== Example == | == Example == | ||
Line 13: | Line 13: | ||
== See Also == | == See Also == | ||
− | [[On_deop|On deop]] triggers when a user was deopped. | + | * [[On_deop|On deop]] triggers when a user was deopped. |
+ | * [[:Category:Access Levels|Access Levels]] | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 18:58, 5 September 2005
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.
Example
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
- On deop triggers when a user was deopped.
- Access Levels