Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs = { ... }
- function g ()
- turtle.dig()
- end
- function f ()
- turtle.forward()
- end
- function b ()
- turtle.back()
- end
- function u ()
- turtle.up()
- end
- function d ()
- turtle.down()
- end
- function l ()
- turtle.turnLeft()
- end
- function r ()
- turtle.turnRight()
- end
- g()
- f()
- h=tArgs[1]
- for i=1,h do
- turtle.digUp()
- g()
- l()
- g()
- f()
- r()
- g()
- l()
- b()
- r()
- u()
- end
- for i=1,h do
- d()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement