Added in 1.9.0

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

Triggers when a channel mode is changed.
Allows a script to intercept and interpret the modes of a channel directly, avoiding AdiIRC's messages and notifications altogether.

See also $mode, on SERVERMODE, on MODE, on OWNER, on DEOWNER, on ADMIN, on DEADMIN, on OP, on DEOP, on HELP, on DEHELP, on VOICE, on DEVOICE, on BAN, on UNBAN.

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 ^*:RAWMODE:*: {
  echo $target * RAWMODE: $1-
  haltdef
}