Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local event = require("event")
- local modem = component.modem
- event.listen("modem_message",function(evt,_,_,_,_,...) print(...) end)
- modem.open(2412)
- while true do
- local cmd=io.read()
- if not cmd then return end
- modem.broadcast(2412, cmd)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement