Advertisement
TheReturningVoid

Untitled

Jan 20th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local component = require("component")
  2. local event = require("event")
  3. local modem = component.modem
  4. event.listen("modem_message",function(evt,_,_,_,_,...) print(...) end)
  5. modem.open(2412)
  6. while true do
  7. local cmd=io.read()
  8. if not cmd then return end
  9. modem.broadcast(2412, cmd)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement