Forage has a longer cooldown then a minute and half. Also by having no pause between the foraging and the autoinventory your items arent getting to your cursor from the foraging quick enough from the system for it to then autoinventory it. You would need to split up the forage command and the autoinventory command with another pause break which you would have to do on another line.
|