Halting script

Hi,

Is there any way of stopping a script, so that it doesn’t process anything else? In PHP there is a ‘die;’ function that does the same as what I need.

Thanks!
:slight_smile:

Depending on the context, you can use “return”, “error number -128” or just kill the app with a “do shell script” with a “kill” shell script.

That’s great! Exactly what I needed :slight_smile: Thankyou! :smiley: