OK. Here's my rewrite of auto bounty script. I've tried to follow KISS principle.
Script takes two arguments, maximum number of adventures and maximum moxie difference (difference between moxie and "moxie for no hit" in given area).
All bounty data stored in map. Item, plural name, quantity, location and safe moxie.
If bounty already started, script will try to finish it. If it's not safe to adventure in given area, it will abort current hunt and try to pick another (unless you have already collected some bounty items, in this case script will do nothing).
If no hunt started, script will pick highest possible mission.
If uses CCS script by Mighty Xerxes and zarqon for Olfaction (edit the [default] section). It uses mafia built-in condition and autorestore mechanics. It will not modify any choice adventure settings. It will not use any 31337 scrolls (what if you want to keep it for stat day?). If will try to accept council and white citadel quests.
Giant Castle is open if you have S.O.C.K. or intragalactic rowboat.