Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Do pastebin on the computer and call it STARTUP
- Computer:
- rednet.open("back")
- term.clear()
- term.setCursorPos(1,1)
- print("The server is running...")
- id,message = rednet.receive()
- monitor = peripheral.wrap("left")
- monitor.setCursorPos(1,1)
- monitor.write(message)
- os.sleep(2)
- monitor.clear()
- os.reboot()
- Do pastebin on the pocket WIRELESS computer and call it STARTUP
- Pocket wireless computer:
- rednet.open("back")
- while true do
- term.clear()
- term.setCursorPos(1,1)
- term.write("Message: ")
- message = read()
- rednet.broadcast(message)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement