From WikiChip
Difference between revisions of "mirc/commands/halt"
< mirc‎ | commands

(Created page with "The '''/halt command''' can be used to immediately stop any further processing. If used from within an event or from within an alias that originated from an event. Other event...")
 
(fixed error)
Line 1: Line 1:
 
The '''/halt command''' can be used to immediately stop any further processing. If used from within an event or from within an alias that originated from an event. Other events in other script files will continue to execute unless they are prefixed with the '&' access prefix. In such events, the [[$halted identifier - mIRC|$halted]] identifier will be [[$true identifier - mIRC|$true]].
 
The '''/halt command''' can be used to immediately stop any further processing. If used from within an event or from within an alias that originated from an event. Other events in other script files will continue to execute unless they are prefixed with the '&' access prefix. In such events, the [[$halted identifier - mIRC|$halted]] identifier will be [[$true identifier - mIRC|$true]].
</p>
 
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 05:28, 6 December 2013

The /halt command can be used to immediately stop any further processing. If used from within an event or from within an alias that originated from an event. Other events in other script files will continue to execute unless they are prefixed with the '&' access prefix. In such events, the $halted identifier will be $true.

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:

Added On:

Note: Individual switches were not taken into consideration.

See also