Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs = {...}
- print("Moving: "..tArgs[1].." spaces")
- function forward()
- while not turtle.forward() do
- turtle.dig()
- end
- end
- --main program
- --print("How many blocks forward?")
- --blocks = read()
- for i = 1, tArgs[1] do
- forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement