Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- if rednet.isOpen("right") == true then
- print("Connection acquired.")
- end
- rednet.host("test","sender")
- local id = rednet.lookup("test")
- print("Computers found:")
- print(id)
- local sent = rednet.send(id,"Testing")
- if sent == true then
- print("Message sent.")
- else
- print("Message failed to send!")
- rednet.close("right")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement