Advertisement
wxyzsupermod

TurtlePlaceblocks

Jul 19th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. SlotNum = 1
  2. Stop = 1
  3. while Stop == 1 do
  4. turtle.select(SlotNum)
  5. ItemCount = turtle.getItemCount(SlotNum)
  6. if ItemCount == 0 then
  7. SlotNum = SlotNum + 1
  8. else
  9. turtle.placeDown()
  10. turtle.forward()
  11. end
  12. if SlotNum == 16 then
  13. Stop = 0
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement