Advertisement
Carbon02

Untitled

Aug 31st, 2019
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. print('How many iterations?')
  2. local num = read()
  3. print('How many items per iteration?')
  4. local item = read()
  5.  
  6. for i=0,num do
  7. for j=1,item do
  8. turtle.select(j)
  9. turtle.drop(1)
  10. sleep(0.25)
  11. end
  12.  
  13. turtle.select(1)
  14. rs.setOutput('bottom', true)
  15. sleep(1)
  16. rs.setOutput('bottom', false)
  17.  
  18. sleep(2)
  19. end
  20.  
  21. print('Finished.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement