Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("pastebin","get","hqrhGa85","turtleAPI")
- os.loadAPI("turtleAPI")
- n=tonumber(io.read())
- turtle.refuel(1)
- for i=0,n,1 do
- turtleAPI.channel(3)
- turtle.turnRight()
- turtleAPI.channel(20)
- turtle.turnRight()
- turtle.turnRight()
- turtleAPI.goForwardAndTorch(20)
- turtleAPI.channel(20)
- turtle.turnRight()
- turtle.turnRight()
- turtleAPI.goForwardAndTorch(20)
- turtle.turnLeft()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement