Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- function a()
- shell.run("shell")
- end
- function b()
- while true do
- id, message = rednet.receive()
- events = { textutils.unserialize(message) }
- queueEvent(unpack(events))
- end
- end
- parallel.waitForAny(a, b)
Advertisement
Add Comment
Please, Sign In to add comment