orngix

Move back

Feb 18th, 2013
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. arg = (...)
  2. arg = tonumber(arg) or 1
  3. x = 0
  4. while x < arg do
  5. if turtle.back() == true then
  6. x = x + 1
  7. else
  8. print("Blocked")
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment