Advertisement
Guest User

file

a guest
Apr 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. function turtle.blockname()
  2.  local success, block = turtle.inspect()
  3.   if block.name == nil then
  4.    return "nothing here"
  5.   else
  6.    return block.name
  7.   end
  8.  end
  9.  
  10. for i = 1,10 do
  11.  if  then
  12.   turtle.up()
  13.   turtle.up()
  14.   turtle.dig()
  15.   turtle.down()
  16.   turtle.dig()
  17.   turtle.down()
  18.   turtle.dig()
  19.   turtle.forward()
  20.  end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement