SHOW:
|
|
- or go back to the newest paste.
| 1 | os.pullEvent = os.pullEventRaw -- makes it so no one can terminate the program | |
| 2 | - | pass = "norway240" -- replace "norway240" with your password |
| 2 | + | pass = "0071" -- replace "norway240" with your password |
| 3 | while true do | |
| 4 | term.clear() | |
| 5 | term.setCursorPos(12,5) | |
| 6 | - | print("Please Enter The Password")
|
| 6 | + | print("Veuiller entrer le mots de passe du Bunker :")
|
| 7 | term.setCursorPos(12,6) | |
| 8 | input = read("*")
| |
| 9 | if input == pass then | |
| 10 | rs.setOutput("left",true) -- replace "left" with the side the door is connected to
| |
| 11 | print("La porte est ouverte pour quelque seconde")
| |
| 12 | sleep(5) | |
| 13 | rs.setOutput("left",false) -- once again replace "left with the side the door is connected to
| |
| 14 | else | |
| 15 | - | print("WRONG PASSWORD")
|
| 15 | + | |
| 16 | print("Le mots de passe est incorrect!!!!!")
| |
| 17 | sleep(2) | |
| 18 | end | |
| 19 | end |