4. Invalid syntax stops the script but produces an error message.
there shouldn't be any invalid syntax. this is a fine solution that totally works. here's a related form:
on ^*:text:*:*:{
myalias
; this doesn't execute
}
alias myalias {
$$null
; this doesn't execute either
}
essentially /halt without the /haltdef component.
it should go without saying that you can also use "$$null" inside the event itself, or indeed anywhere else, to the same effect.