Jharakn

trundle

Apr 19th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. --turtle TruMeter program.
  2.  
  3. local counter = 0
  4.  
  5. while true do
  6. if turtle.forward() then
  7. counter = counter +1
  8. print(counter)
  9. else
  10. print ("finished trundling at "..counter)
  11. break
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment