Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- pipe = peripheral.wrap("back")
- atmid = 3732
- function empfangen()
- id,redi = rednet.receive()
- if id == atmid then
- data = textutils.unserialize(redi)
- item = data.item
- menge = data.menge
- end
- end
- while true do
- empfangen()
- if item == "tungsten" then
- pipe.makeRequest(identitungsten, menge)
- end
- end
Add Comment
Please, Sign In to add comment