gmen712

1stmine

Dec 18th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. shell.run("pastebin", "get", "Pu4fNUEK", "goto")
  2. local icount
  3. for i = 1, 55 do
  4.  turtle.digDown()
  5.  turtle.down()
  6.  turtle.dig()
  7.  turtle.forward()
  8.  turtle.digUp()
  9.  turtle.up()
  10.  turtle.digUp()
  11.  turtle.down()
  12.  icount = turtle.getItemCount(16)
  13.  if (icount > 0) then
  14.   shell.run("goto", "WHATEVER", "CHEST", "IS!")
  15.  end
  16. end
  17. for i = 1, 100 do
  18.  turtle.dig()
  19.  turtle.digUp()
  20.  turtle.forward()
  21.  icount = turtle.getItemCount(16)
  22.  if (icount > 0) then
  23.   shell.run("goto", "WHATEVER", "CHEST", "IS!")
  24.  end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment