Advertisement
poboivin

TurnLeft

Oct 3rd, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. tArgs={...}
  2. times = tArgs[1]
  3. print("turning left")
  4. for i=1,times do
  5. turtle.turnLeft()
  6. currentFacing = currentFacing -1
  7. if currentFacing < 0 then
  8. currentFacing = 3
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement