From WikiChip
Difference between revisions of "mirc/commands/halt"
m (Bot: de-linking old mIRC menu) |
|||
Line 1: | Line 1: | ||
{{mirc title|/halt Command}} | {{mirc title|/halt Command}} | ||
− | The '''/halt command''' can be used to immediately stop any further processing. If used from within an event | + | The '''/halt command''' can be used to immediately stop any further processing in a script. If used from within an event (from within an alias that originated from an event), others events in others scripts files are still processed. You can use the & prefix event to prevent an event from being processed if /halt or /haltdef has been used in a previous event, you can also check the {{mIRC|$halted}} identifier from the event without using the & event prefix, which will be {{mIRC|$true}} |
+ | |||
+ | '''Note''': /halt inside an event stop the default processing if you are using the ^ event prefix | ||
== Synopsis == | == Synopsis == |
Revision as of 11:22, 9 October 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /halt command can be used to immediately stop any further processing in a script. If used from within an event (from within an alias that originated from an event), others events in others scripts files are still processed. You can use the & prefix event to prevent an event from being processed if /halt or /haltdef has been used in a previous event, you can also check the $halted identifier from the event without using the & event prefix, which will be $true
Note: /halt inside an event stop the default processing if you are using the ^ event prefix
Synopsis
/halt
Switches
None
Parameters
None
Example
; /halt_example alias halt_example { echo -a Some echo! halt_example2 echo -a This echo command will never execute } alias halt_example2 { echo -a Example 2! ; kill the script halt }
Will output:
Some echo! Example 2!
Compatibility
Added:
See also
mIRC commands list