Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- term.setBackgroundColor(colors.blue)
- term.clear()
- print("===================================================")
- print(" serveur de l'abris principale 451 ")
- print("===================================================")
- print("===================================================")
- print(" V0.2 ")
- print("===================================================")
- while true do
- sleep(0.1)
- local senderId, message, protocol = rednet.receive()
- if senderId == "" then
- print("verification de L'id :"..id)
- if msg == "alert" then
- print("alerte l'ordi "..id)
- rs.setOutput("back", false)
- rs.setOutput("back", false)
- rs.setOutput("back", false)
- end
- if msg == ("2") then
- print("demande du rez de chausser par l'ordi "..id)
- rs.setOutput("back", false)
- rs.setOutput("back", false)
- rs.setOutput("back", false)
- end
- if msg == ("3") then
- print("demande du rez de chausser par l'ordi "..id)
- rs.setOutput("back", false)
- rs.setOutput("back", false)
- rs.setOutput("back", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement