°Forever
°repeat until hands empty
-Find tree soil
-Move to tree soil
-Use item
(End of repeat)
-Find nearest shovel
-Move to shovel
-Pick up shovel
(End of forever)
This is what my digger bot's script looks like.
Mr_Mobius_Your script didn't work. The bot has nothing in its hands (and inventory) and it is stuck in the first loop.