edoreld

Untitled

Dec 27th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. local tArgs = {...}
  2. local lampsToPlace = tonumber(tArgs[1])
  3.  
  4. function forward()
  5. while not turtle.forward() do
  6. turtle.attack()
  7. end
  8. end
  9.  
  10. for i=1,lampsToPlace do
  11. turtle.placeDown()
  12. for i=1,6 do
  13. turtle.forward()
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment