On RAWMODE » History » Version 2
Per Amundsen, 11/18/2015 03:34 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 | *Parameters* |
||
| 9 | |||
| 10 | <level> - The level for the event to trigger. |
||
| 11 | <#|*> - The [[Matchtarget]] to listen to. |
||
| 12 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
| 13 | |||
| 14 | *Example* |
||
| 15 | |||
| 16 | <pre> |
||
| 17 | on ^*:RAWMODE:*: { |
||
| 18 | echo $target * RAWMODE: $1- |
||
| 19 | haltdef |
||
| 20 | } |
||
| 21 | </pre> |