Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --CFG Modem Sender lmlm
- local side = "top"
- local port = 722
- local replyPort = 723
- local filename = "text"
- local text = ""
- local modem = peripheral.wrap(side)
- if fs.exists(filename) == true then
- h = fs.open(filename, "r")
- text = h.readAll()
- h.close()
- else
- print("File does not exist, check path..")
- end
- term.clear()
- print("Calafrica Group -- Calaofeng GT-3TP GT 3TP Mark III\n\n")
- while true do
- modem.transmit(port, replyPort, text)
- os.sleep(5)
- end
Add Comment
Please, Sign In to add comment