Halt » History » Version 2
Per Amundsen, 12/26/2018 08:14 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.1_ |
|---|---|---|---|
| 2 | |||
| 3 | */halt* |
||
| 4 | |||
| 5 | Halts a script and prevents any further processing. |
||
| 6 | |||
| 7 | If used in a event with ^ prefix, will stop AdiIRC from showing the default text for that event. |
||
| 8 | |||
| 9 | *Example* |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | alias example { |
||
| 13 | 2 | Per Amundsen | ; Echo 'some text!'. |
| 14 | 1 | Per Amundsen | /echo -a Some text! |
| 15 | |||
| 16 | 2 | Per Amundsen | ; Halt the script. |
| 17 | 1 | Per Amundsen | /halt |
| 18 | |||
| 19 | 2 | Per Amundsen | ; Echo some more text, but this line will never be executed. |
| 20 | 1 | Per Amundsen | /echo -a This echo command will never execute |
| 21 | } |
||
| 22 | </pre> |