Added in 1.9.0

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

Triggers when a server changes a channel mode.

See also on MODE, on RAWMODE.

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 *:SERVERMODE:*:echo -ag $nick changed channel modes $1- on channel $chan