I made this little action after i nearly died while hunting, my char was surrounded by 10+ monsters and it tried to eat food instead of shooting runes (it happened several months ago, dunno if its patched) and, if ur hunting manually, luring lots of monsters you will never eat by yourself while surrounded, human behavior ftw.
Place it either on persistent or cavebot action.

Code:
auto(200, 400) dontlist()
if $mattacker.id == 0 and $pattacker.id == 0 then
	pausewalking(400,800)
	eatfoodfull() wait(200000, 400000)
end