I am writing an ash script to automate a daily farm as a bit of a challenge having never used ash or any scripting. Now I've looked for awhile through most of the posts about adventuring for semirares and farming, but it seems to become complicated when you want to farm until a semirare comes up, get the semirare, then continue farming. What I want to know is how to script:
* Check if the counter is active, so it knows whether to eat a cookie.
* How to get the value for the number of adventures until a semirare.
* Alternating between two semirares (Picking a semirare depending on the last one received).
* Getting past the auto-abort on the semirare (without removing the counterchecker).
The goal for the farm goes like this:
* Check if the counter is up and eat a cookie(s) if it isn't.
* Adventure in giant's castle until the semirare comes up, and getting a lunchbox.
* Eating a cookie(s) and getting the value for the amount of adventures until next semirare.
* Repeat until semirare comes up again and getting Cyclops Eyedrops or Irradiated Pet Snacks.
* And so on, alternating between lunchbox and a different semirare.
I've gone through the posts that are for finding all this but I don't understand enough to pick out the code I want for doing a specific task. I want to know if it's actually possible to not require entering in the remaining adventures needed until a semirare. I'm not interested in the script picking the most expensive semirares to get. Much appreciated if you can explain how to do each part, a script for it briefly explaining what the code is doing would be even better.
* Check if the counter is active, so it knows whether to eat a cookie.
* How to get the value for the number of adventures until a semirare.
* Alternating between two semirares (Picking a semirare depending on the last one received).
* Getting past the auto-abort on the semirare (without removing the counterchecker).
The goal for the farm goes like this:
* Check if the counter is up and eat a cookie(s) if it isn't.
* Adventure in giant's castle until the semirare comes up, and getting a lunchbox.
* Eating a cookie(s) and getting the value for the amount of adventures until next semirare.
* Repeat until semirare comes up again and getting Cyclops Eyedrops or Irradiated Pet Snacks.
* And so on, alternating between lunchbox and a different semirare.
I've gone through the posts that are for finding all this but I don't understand enough to pick out the code I want for doing a specific task. I want to know if it's actually possible to not require entering in the remaining adventures needed until a semirare. I'm not interested in the script picking the most expensive semirares to get. Much appreciated if you can explain how to do each part, a script for it briefly explaining what the code is doing would be even better.