Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bridge = peripheral.wrap("right")
- local test = bridge.listItems()
- for i,t in pairs(test) do
- print("Name: " .. t.displayName .. " x" .. tostring(t.amount))
- if (t.amount > 64) then
- retrieve(t.name, 1, "north")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement