From the mIRC help file.
Halt:
The /halt command halts a script and prevents any further processing.
Haltdef:
If you only want to halt the default text without /halting the entire script, you can use the /haltdef command.
The /haltdef command halts default text and events.