daily pastebin goal
66%
SHARE
TWEET

test

a guest Feb 19th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. p=peripheral.wrap("left")
  2. while true do
  3.  
  4. time1=os.time()
  5.  
  6. a=p.getStoredItems()
  7. amount1=a.qty
  8.  
  9. sleep(5)
  10.  
  11. a=p.getStoredItems()
  12. amount2=a.qty
  13.  
  14. time2=os.time()-time1
  15. print((amount1-amount2)/(time2*1000))
  16.  
  17. end
  18.  
  19. shell.run("lua")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top