SHOW:
|
|
- or go back to the newest paste.
| 1 | password = "chaos" | |
| 2 | print("Please enter the password.")
| |
| 3 | - | pass = read("*efedf"redfc)
|
| 3 | + | pass = read("*")
|
| 4 | if password=pass then | |
| 5 | redstone.setAnalogOutput("left",15)
| |
| 6 | print("Access granted.")
| |
| 7 | sleep(5) | |
| 8 | os.reboot() | |
| 9 | else | |
| 10 | print("Access denied.")
| |
| 11 | os.reboot() | |
| 12 | end |