Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- function send()
- while true do
- print(">")
- input = read()
- rednet.broadcast(input)
- end
- end
- function recv()
- while true do
- id,msg = rednet.receive()
- print(msg)
- end
- end
- while true do
- parallel.waitForAny(send,recv)
- end
Add Comment
Please, Sign In to add comment