MaLittlePwny

Untitled

Apr 1st, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. me = peripheral.wrap("top")
  2. pushDir = "DOWN"
  3.  
  4. sleep(1)
  5. items = me.getAvailableItems()
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12. for k, v in pairs(items) do
  13.  
  14. print(v.fingerprint.id)
  15. v.qty = 1
  16. v.id = v.fingerprint.id
  17.  
  18. shell.run(pushItem, v, pushDir)
  19.  
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment