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...")
(No difference)

Revision as of 04: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. </p>

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