I'd like to request an ASH construct to swallow errors (run commands, and continue even if an error occurs).
My use-case is part of my farm script which wants to try drinking something (e.g. dirt julep) to get a buff but will bomb out if it's too expensive (as determined by the autoBuyPriceLimit). I could check with mall_price() before, but this doesn't check whether the ingredients are cheaper as well, unlike drink.
Currently I'm using a CLI construct that does the same thing with CLI commands:
My use-case is part of my farm script which wants to try drinking something (e.g. dirt julep) to get a buff but will bomb out if it's too expensive (as determined by the autoBuyPriceLimit). I could check with mall_price() before, but this doesn't check whether the ingredients are cheaper as well, unlike drink.
Currently I'm using a CLI construct that does the same thing with CLI commands:
Code:
cli_execute("try; drink dirt julep");