Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1, 1)
- turtle.select(1)
- while true do
- local count = turtle.getItemCount()
- if count > 0 then
- turtle.dropDown(1)
- else
- local slot = turtle.getSelectedSlot()
- if slot == 16 then
- turtle.select(1)
- else
- turtle.select(slot + 1)
- end
- end
- os.sleep(0.2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement