Project

General

Profile

On RAWMODE » History » Version 5

Per Amundsen, 02/24/2017 09:38 PM

1 2 Per Amundsen
_Added in 1.9.0_
2
3 1 Per Amundsen
*<notextile>on <level>:RAWMODE:<#|*>:<commands></notextile>*
4
5
Triggers when a channel mode is changed.
6
Allows a script to intercept and interpret the modes of a channel directly, avoiding AdiIRC's messages and notifications altogether.
7
8 4 Per Amundsen
_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]]._
9 3 Per Amundsen
10 1 Per Amundsen
*Parameters*
11
12 5 Per Amundsen
<level> - The [[User Access Level]] for the event to trigger.
13 1 Per Amundsen
<#|*> - The [[Matchtarget]] to listen to.
14
<commands> - The commands to be performed when the event listener's criteria is met.
15
16
*Example*
17
18
<pre>
19
on ^*:RAWMODE:*: {
20
  echo $target * RAWMODE: $1-
21
  haltdef
22
}
23
</pre>