Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- rednet.broadcast("connexion en cours...")
- id,message = rednet.receive(5)
- if id == 28 and message == "Connexion effectuee!!!" then
- write("Ouverture du sas...")
- redstone.setOutput("left", true)
- sleep(2)
- redstone.setOutput("left", false)
- end
- print("rebooting programs...")
- rednet.close("left")
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement