On RAWMODE » History » Revision 4
Revision 3 (Per Amundsen, 02/19/2017 08:33 AM) → Revision 4/5 (Per Amundsen, 02/19/2017 08:33 AM)
_Added in 1.9.0_
*<notextile>on <level>:RAWMODE:<#|*>:<commands></notextile>*
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 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*
<pre>
on ^*:RAWMODE:*: {
echo $target * RAWMODE: $1-
haltdef
}
</pre>