Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- while true do
- local function quarry()
- senderID, message, protocol = rednet.receive("quarry")
- shell.run(message)
- end
- local function all()
- senderID, message, protocol = rednet.receive("all")
- shell.run(message)
- end
- parallel.waitForAny(quarry, all)
- end
- rednet.close("left")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement