Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- me = peripheral.wrap("top")
- pushDir = "DOWN"
- sleep(1)
- items = me.getAvailableItems()
- for k, v in pairs(items) do
- print(v.fingerprint.id)
- v.qty = 1
- v.id = v.fingerprint.id
- shell.run(pushItem, v, pushDir)
- end
Advertisement
Add Comment
Please, Sign In to add comment