Posted 16 August 2017 - 01:29 PM
Hello! So im making a remote controller for ExtremeReactors.
This is my script so far.
Now i want it to broadcast the output of the command i sent the computer. How do i do so? I've been looking but i cant figure it out.
Thanks!
local function update()
while true do
local event, senderId, msg, protocol = os.pullEvent("rednet_receive")
shell.run(msg)
rednet.broadcast()
end
end
parallel.waitForAny(update, function() shell.run("shell") end)
This is my script so far.
Now i want it to broadcast the output of the command i sent the computer. How do i do so? I've been looking but i cant figure it out.
Thanks!
Edited on 17 August 2017 - 05:48 AM