Advertisement
Guest User

GranjaArbol

a guest
Jul 24th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. local r = redstone.getInput("front")
  2. local compare = turtle.compare()
  3. local compareDown = turtle.compareDown()
  4. sleep(1)
  5. print ("empezando")
  6.  
  7. whilw true do
  8.   if r == true then
  9.     turtle.dig()
  10.     turtle.up()
  11.     if compare == true then
  12.       turtle.dig()
  13.       turtle.up()
  14.       else
  15.       turtle.select(16)
  16.      
  17.       end
  18.     sleep(1)
  19.     turtle.turnLeft()
  20.     turtle.turnLeft()
  21.     if compareDown == false then
  22.    
  23.     end
  24.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement