Originally Posted By: Protopia

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:

Code:
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.

Last edited by jaytea; 09/08/18 06:12 AM.

"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde