On RAWMODE » History » Version 1
Per Amundsen, 11/18/2015 03:32 PM
1 | 1 | Per Amundsen | *<notextile>on <level>:RAWMODE:<#|*>:<commands></notextile>* |
---|---|---|---|
2 | |||
3 | Triggers when a channel mode is changed. |
||
4 | Allows a script to intercept and interpret the modes of a channel directly, avoiding AdiIRC's messages and notifications altogether. |
||
5 | |||
6 | *Parameters* |
||
7 | |||
8 | <level> - The level for the event to trigger. |
||
9 | <#|*> - The [[Matchtarget]] to listen to. |
||
10 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | on ^*:RAWMODE:*: { |
||
16 | echo $target * RAWMODE: $1- |
||
17 | haltdef |
||
18 | } |
||
19 | </pre> |