Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chest = peripheral.wrap("back")
- items = chest.list()
- i = 1
- prot = "uran"
- rednet.open("top")
- while i <= table.getn(items) do
- item = items[i]
- amout = amout + item.count()
- rednet.broadcast(amout, prot)
- os.queueEvent("shit")
- os.pullEvent("shit")
- i = i + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement