Posted 28 November 2015 - 03:18 AM
My turtle won't move. I am very new to all this and for some reason my turtle won't move when it is told to in the code. It will turn and everything fine but not move or place blocks. Help? Here's the code:
print("DBuild v1> Want me to build the succ? Do y/n")
input = read()
if input == "y" then
print("DBuild v1> Ok")
sleep(1)
print("DBuild v1> Please place me in an empty 3x3 area and type done to begin.")
print("DBuild v1> Important: Make sure any block in the first slot of the turtle.")
input = read()
if input == ("done") then
print("DBuild v1> Starting...")
sleep(2)
turtle.select(1)
turtle.up()
turtle.placeDown()
turtle.turnRight()
turtle.forward()
turtle.placeDown()
turtle.forward()
turtle.placeDown()
turtle.turnRight()
turtle.turnRight()
turtle.forward()
turtle.up()
turtle.placeDown()
turtle.up()
turtle.placeDown()
turtle.forward()
turtle.down()
turtle.down()
turtle.turnLeft()
turtle.down()
turtle.turnRight()
turtle.turnRight()
print("DBuild v1> Done! Shutting down.")
sleep(5)
else print("DBuild v1> pero ok")
sleep(2)
end
end
if input == "n" then
print("DBuild v1> pero ok")
sleep(2)
end