I also need help doing it with a wireless modem message for a browser program...
and pastebin run here is my code;
component = require("component")
modem = component.modem
event = require("event")
print("Connent to which IP?")
ip = io.read("*n")
modem.open(ip)
modem.broadcast(ip, "packets")
local _, _, from, port, _, message = event.pull("modem_message")
message = tostring(i)
local command = table.concat({"pastebin run message"})
os.execute(command)