Hello, when the program gives an error anywhere, it closes by saying "fail". I also want to write a script if it fails. It is not clear where it will give the error, how do I do this? for example I want to run write file when it gives an error
error.PNG
this is the text that would pop up "You've already redeemed this code" when this happens i want it to delete the code that was input box and continue on with the next script.
to clarify, my script has a list of codes that is input into the box