Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- text = read()
- rednet.broadcast(text,"rpage")
- local senderId, message, protocol = rednet.receive()
- if message == "false" then
- print("page not found")
- else
- file = fs.open("tpage", "w")
- file.write(message)
- file.close()
- shell.run("tpage")
- end
Advertisement
Add Comment
Please, Sign In to add comment