From WikiChip
mirc/commands/halt
< mirc‎ | commands
Revision as of 04:28, 6 December 2013 by David (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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