Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Flattens a row of tArgs length (inputted in console)
- local tArgs = {...}
- a = tonumber(tArgs[1])
- b = 0
- turtle.select(1)
- while b < a do
- while turtle.forward() == false do
- turtle.dig()
- end
- b = b + 1
- turtle.placeDown()
- while turtle.detectUp() == true do
- turtle.digUp()
- turtle.up()
- end
- while turtle.detectDown() == false do
- turtle.down()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment