Advertisement
Guest User

run

a guest
Apr 26th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. print("Enter current Y position.")
  2. sPos = read()
  3. print("Enter max Y position.")
  4. ePos = read()
  5.  
  6. cPos = (sPos)
  7. x = 64
  8. n = 1
  9. turtle.select(n)
  10. while cPos < ePos do
  11.   turtle.up()
  12.   turtle.placeDown()
  13.   x = x - 1
  14.   if x == 0 then
  15.     n = n + 1
  16.     turtle.select(n)
  17.   end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement