Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local event = require("event")
- local m = component.modem
- args = {...}
- m.open(123)
- if #args >= 2 and m.isWireless() then
- m.setStrength(tonumber(args[2]))
- end
- m.broadcast(321, args[1])
Add Comment
Please, Sign In to add comment