Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This program is no longer needed. Just grab the stairs program below.
- -- place at the top most face block after you run ComputerCraft Stair Turtle Program
- -- pastebin get t6kdBeq0 stairs
- local tArgs = { ... }
- if #tArgs ~= 1 then
- print( "Usage: cleanupstairs <amount>" )
- return
- end
- local amount = tonumber(tArgs[1])
- local back = amount + 1
- local torch = 15-- put number of torch slot
- for i = 1, amount do
- while not turtle.detectDown() do
- turtle.dig()
- turtle.down()
- turtle.forward()
- end
- end
- sleep(2)
- turtle.up()
- sleep(2)
- turtle.turnRight()
- sleep(2)
- turtle.turnRight()
- sleep(2)
- for i = 1, back do
- turtle.up()
- turtle.forward()
- turtle.up()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement