Added in 2.8

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

Triggers when a user is opped by a server.

See also on DEOP, on VOICE, on DEVOICE, on HELP, on DEHELP, on OP, $opnick, $modefirst, $modelast.

Parameters

<level> - The User Access 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 *:SERVEROP:#:echo -ag $nick just opped $opnick