Added in 1.9.0

on <level>:OP:<#|*>:<commands>

Triggers when a user is topped.

See also on DEOP, on VOICE, on DEVOICE, on HELP, on DEHELP, on SERVEROP, $opnick.

Parameters

<level> - The level for the event to trigger.
<#|*> - The Matchtarget to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

on *:OP:#:echo -ag $nick just opped $opnick