Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setCursorPos(1,1)
- term.clear()
- string01 = "whveck42"
- string02 = "technician1"
- print("Bienvenue sur la console de gestion de la rampe de lancement")
- print("Utilisateur:")
- string03 = read()
- if string03 == (string02)
- then
- write("Mot de Passe:")
- string04 = read("*")
- if string04 == (string01) then
- rednet.open("right")
- id,message = rednet.receive()
- if id == 30 and message == "connexion en cours..." then
- print("connexion en cours...")
- sleep(1)
- rednet.send(30,"Connexion effectuee!!!")
- print("Ouverture/fermeture du sas")
- sleep(3)
- end
- end
- end
- rednet.close("right")
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement