Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function forward(num)
- for i = 1,num do
- turtle.forward()
- end
- end
- function back(num)
- for i = 1,num do
- turtle.back()
- end
- end
- function up(num)
- for i = 1,num do
- turtle.up()
- end
- end
- function down(num)
- for i = 1,num do
- turtle.down()
- end
- end
- function turnLeft(num)
- for i = 1,num do
- turtle.turnLeft()
- end
- end
- function turnRight(num)
- for i = 1,num do
- turtle.turnRight()
- end
- end
- function digforward(num)
- for i = 1,num do
- turtle.digDown()
- turtle.placeDown()
- turtle.forward()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement