Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
@Fox Yes, but I couldn't find it, we can only choose what to do when a certain line gives an error, but the error can occur on any line. I want to run a command when the complete script gives an error?