Advertisement
Guest User

test

a guest
Apr 26th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. --Code to drop items in order
  2. turtle.select(1)
  3. write("How Many Times?")
  4.   local num = tonumber(read())
  5.  for i=1,num do
  6.   for e=1,16 do
  7.    local slot = turtle.getSelectedSlot() + 1
  8.     if slot + 1 > 17
  9.     then slot = 1
  10.     end
  11.     turtle.select(slot)
  12.      sleep(1)
  13.      turtle.drop(1)
  14.       end
  15.   end
  16. print("Assignment Completed")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement