Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- while redstone.getInput("left") do
- turtle.attack()
- if turtle.getItemCount(13)>0 then
- for vSlot = 16, 1, -1 do
- turtle.select(vSlot)
- turtle.dropDown()
- print("Empty slot" .. turtle.getSelectedSlot())
- turtle.select(turtle.getSelectedSlot()+1)
- term.clear()
- term.setCursorPos(1,1)
- sleep(0.1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement