SHOW:
|
|
- or go back to the newest paste.
1 | os.pullEvent = os.pullEventRaw | |
2 | - | |
2 | + | |
3 | term.clear() | |
4 | term.setCursorPos(1,1) | |
5 | term.write("Password:") | |
6 | local password = read() | |
7 | ||
8 | if password == "passwordmain" then | |
9 | - | if password == "MasterKey" then |
9 | + | |
10 | elseif password == "passwordsecondary" then | |
11 | - | elseif password == "password1" then |
11 | + | |
12 | elseif password == "passwordtertiary" then | |
13 | shell.run("ID") | |
14 | - | term.print("Incorrect.Rebooting") |
14 | + | elseif password == "passwordquarternary" then |
15 | shell.run("ID") | |
16 | - | os.reboot |
16 | + | elseif password == "passwordquinary" then |
17 | shell.run("ID") | |
18 | else | |
19 | term.write("Incorrect.Rebooting") | |
20 | sleep(5) | |
21 | os.reboot() | |
22 | end | |
23 | end |