Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- sleep(0.1)
- local senderId, message, protocol = rednet.receive()
- if senderId == "20" then
- print("verification de L'id :"..id)
- if msg == ("1") then
- rednet.broadcast("op1")
- rednet.broadcast("e1")
- print("Preparation a la mise a feu")
- sleep(3)
- print("5")
- sleep(1)
- print("4")
- sleep(1)
- print("3")
- sleep(1)
- print("2")
- sleep(1)
- print("1")
- sleep(1)
- print("0")
- sleep(1)
- print("allumage")
- rs.setOutput("back", true)
- sleep(3)
- rs.setOutput("back", false)
- sleep(3)
- os.reboot()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement