Posted 18 May 2012 - 04:48 AM
hi, again i need some help, i can´t make stairs, no stairs while you are mining, can someone give me a hand with this easy program
thank youj,
thank youj,
repeat
A = turtle.down()
until A == false
for v=1,10 do --change the 10 to how much steps you want
turtle.up()
turtle.dig()
turtle.forward()
turtle.digUp()
end
until A == false
type until not A
P.S. This should be in Ask a Pro not Generali guess that I'm doing something wrong, i capy and paste the program in a .txt file, and then i put in computer craft….programs, turtle, and delete de extension.bios: 206: [string"stairs"]:1: unexpected symbol
Here is a program for stairs:repeat A = turtle.down() until A == false for v=1,10 do --change the 10 to how much steps you want turtle.up() turtle.dig() turtle.forward() turtle.digUp() end
Here is a program for stairs:repeat A = turtle.down() until A == false for v=1,10 do --change the 10 to how much steps you want turtle.up() turtle.dig() turtle.forward() turtle.digUp() end
There's a repeat … until block? (looks in notepad++) That's cool