XylianLP

Count inventory

Jun 22nd, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. slotcl=1
  2. countcl=0
  3.  
  4. for asas=1, 16 do
  5. countcl = countcl + turtle.getItemSpace(slotcl)
  6. slotcl=slotcl+1
  7. end
  8. print(countcl)
  9.  
  10. if 30<countcl then
  11.  print("not eneugh blocks please refill the chests, but please remain 4 slots for each chests")
  12.  write("Press Enter to continue: ")
  13.  waitrefill = io.read()
  14. end
Add Comment
Please, Sign In to add comment