Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("pastebin", "get", "Pu4fNUEK", "goto")
- local icount
- for i = 1, 55 do
- turtle.digDown()
- turtle.down()
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- icount = turtle.getItemCount(16)
- if (icount > 0) then
- shell.run("goto", "WHATEVER", "CHEST", "IS!")
- end
- end
- for i = 1, 100 do
- turtle.dig()
- turtle.digUp()
- turtle.forward()
- icount = turtle.getItemCount(16)
- if (icount > 0) then
- shell.run("goto", "WHATEVER", "CHEST", "IS!")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment