rednet.open("top")
while true do
local id,msg = rednet.receive()
print("ID:"..id.." REQUEST-CODE:"..msg)
if (msg == "/20%80") then
local tempFile = fs.open("page","r")
local fileO = tempFile.readAll()
tempFile.close()
rednet.send(id,fileO)
end
end
Comments