Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = { ... }
- if #args ~= 1 then
- print("usage: program <param1>")
- error()
- end
- args = args[1]
- peripheral.find("modem", rednet.open)
- rednet.broadcast(args)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement