Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("how high")
- y = tonumber(read())
- print("how long")
- z = tonumber(read())
- Y = 1
- Z = 0
- while Z <= z do
- turtle.dig()
- turtle.forward()
- while Y <= y do
- turtle.turnLeft()
- turtle.dig()
- turtle.turnRight()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- if Y ~= y-1 then
- turtle.digUp()
- turtle.up()
- end
- Y = Y+1
- end
- while Y ~= 1 do
- turtle.down()
- Y = Y-1
- end
- Z = Z+1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement