$halted » History » Version 1
Per Amundsen, 08/17/2015 01:11 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$halted* |
||
4 | |||
5 | Returns [[$true]] if a script has already used [[/halt]] during a [[Scripting_Events|event]] otherwise [[$false]]. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | on ^*:TEXT:*:*:halt |
||
11 | on ^*:TEXT:*:*:{ |
||
12 | if ($halted) { |
||
13 | echo -ag A previous script has already halted this event. |
||
14 | } |
||
15 | } |
||
16 | </pre> |