Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement