Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function turtle.blockname()
- local success, block = turtle.inspect()
- if block.name == nil then
- return "nothing here"
- else
- return block.name
- end
- end
- for i = 1,10 do
- if then
- turtle.up()
- turtle.up()
- turtle.dig()
- turtle.down()
- turtle.dig()
- turtle.down()
- turtle.dig()
- turtle.forward()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement