Are you sure your waypoint section is named "hunt" when the alarms aren't working? The rest of that logic is pretty solid, this is something I can imagine you might be overlooking...
Yes it was, i can test it again later if you want, it is working on windbot 2.8 using the same cavebot script but it wasnt working on wb 2.9