Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("right")
- if not items then shell.run("items") end
- while true do
- event, item, amount = os.pullEventRaw()
- if event == "isort_item" then
- print("Item ID: "..item)
- print("Item name: "..items[item])
- print("Amount: "..amount)
- end
- p.sort(3,amount)
- end
Advertisement
Add Comment
Please, Sign In to add comment