-- Written By: Noodle
-- Any suggestions? Msg me!
n = 1
while turtle.detect() == false do
turtle.forward()
if turtle.down() == false then
os.reboot()
end
turtle.placeDown()
if turtle.detect() == true then
turtle.turnRight()
turtle.placeDown()
end
if turtle.getItemCount(n) <1 then
n = n + 1
turtle.select(n)
end
end
Finished & Tested!
How to add
——————————
1. Copy code
2. Paste in notepad
3. save to %appdata% – .minecraft/mods/computercraft/lua/rom/programs
4. Name it Stair or whatever you will remember it by
5. If it automatically puts .txt or any other extension, get rid of it.
How to use
——————————
When turtle is done excavating collect all materials and put in whatever material you want for stairs.
Then type whatever YOU NAMED IT AS.