On servermode

From Scriptwiki
Jump to: navigation, search

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

The on SERVERMODE event triggers when an IRC Server changes a channel mode.

Example

on *:SERVERMODE:#:{ echo -t $chan * $server changed mode in $chan to $1- }