Advertisement
GauHelldragon

PackageBot 0.3

Mar 9th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. while true do
  2.     for inv=1,16 do
  3.         local count = turtle.getItemCount(inv)
  4.         while ( count >= 9 ) do
  5.             turtle.select(inv)
  6.             while ( turtle.drop(9) == false ) do os.sleep(2) end
  7.             count = turtle.getItemCount(inv)
  8.         end
  9.     end
  10.     os.sleep(10)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement