Minor problem, withdraws too much from my guild bank, then doesn't have space to loot the milling. Should probably have it leave 2 slots or so empty in your bags for that reason. Looked through your code and saw that you have code to check for 5 free slots, but you might use the wrong code.. you might need to use Styx.WoWInternals.WoWObjects.LocalPlayer.FreeNormalBagSlots instead of ObjectManager.Me.FreeBagSlots. This is because that counts the free slots in profession bags. I have an empty mining bag, and so it thinks there is still 22 empty slots.
Actually that might not be the problem. I replaced my profession bags with regular bags and am still having the same problem.
Also has a problem with trying to mill < 5 herbs over and over even if there are several stacks in the same bag (has a problem with uneven stacks that aren't in increments of 5's). Probably should just skip withdrawing if the stacksize isn't 5, 10, 15, or 20.
It'd also be nice if it continued to withdraw from the guild bank instead of just once (at least that's what's happened so far).