Posted 10 March 2014 - 07:24 PM
bios:339: [string "door"]:10: "=" expected
So i know the ERROR is on line 10 although I Just dont see why
My turtle checks for a redstone signal on the right then breaks the block in front of it move forwards 2 then breaks 4 blocks!
obviously i would put this on a while loop on startup
http://pastebin.com/ApW12LaP
CODE:
So i know the ERROR is on line 10 although I Just dont see why
My turtle checks for a redstone signal on the right then breaks the block in front of it move forwards 2 then breaks 4 blocks!
obviously i would put this on a while loop on startup
http://pastebin.com/ApW12LaP
CODE:
- if redstone.getInput("right",true) then
- turtle.dig()
- turtle.foward()
- turtle.foward()
- turtle.turnLeft()
- turtle.up()
- turtle.dig()
- turtle.foward()
- turtle.digDown
- turtle.turnRight()
- turtle.dig()
- turtle.down()
- turtle.dig()
- turtle.turnRight()
- turtle.turnRight()
- turtle.foward()
- turtle.foward()
- turtle.turnRight()
- turtle.turnRight()
- turtle.place()
- else
- sleep(1)
- end