I am working on a script to play while I am traveling over the crimbo season. I have included it below for reference. My question is: how do I make it so the script continues executing even if it hits an error. (for example, maybe I logged in before the script ran and ate some food already. I don't want the rest of the script to stop just because I hit my fullness.)
I saw there's a "continue" command, but I didn't understand how to use it from the one sentence of documentation provided
I saw other script examples in the forum which use ASH and "catch" the error by using the boolean return value from commands (either assigning it to a variable or using it in an if statement.) I would prefer to not have to convert my script to ASH format if I can avoid it.
I am also open to feedback on reducing the server load caused by my script. I will set it to run as a scheduled task every morning at 3 AM or so (pacific time). I have already followed all the guidelines requested on the main forum post (buffing and buying restores for the duration, etc.)
Is there a cli script flow control variable for number of adventures remaining? (to enable turn banking.)
I saw there's a "continue" command, but I didn't understand how to use it from the one sentence of documentation provided

I saw other script examples in the forum which use ASH and "catch" the error by using the boolean return value from commands (either assigning it to a variable or using it in an if statement.) I would prefer to not have to convert my script to ASH format if I can avoid it.
I am also open to feedback on reducing the server load caused by my script. I will set it to run as a scheduled task every morning at 3 AM or so (pacific time). I have already followed all the guidelines requested on the main forum post (buffing and buying restores for the duration, etc.)
Is there a cli script flow control variable for number of adventures remaining? (to enable turn banking.)
Code:
use 20 stench wad
eat 3 bat wing chow mein
drink 3 gimlet
drink bottle of Pinot Renoir
acquire 15 green snowcone
acquire 15 orange-frosted astral cupcake
familiar sombrero
outfit crimbo powerleveling
mood crimbo powerleveling
adventure * Spooky Fright Factory
uneffect the moxious madrigal
outfit pajamas
drink gimlet
skill summon snowcone
skill 3 pastamastery
skill 5 advanced saucecrafting