SHOW:
|
|
- or go back to the newest paste.
| 1 | if settings.get("password") ~= "" then
| |
| 2 | term.clear() | |
| 3 | w,h = term.getSize() | |
| 4 | - | term.setCursorPos(w/2-7,h/2) |
| 4 | + | term.setCursorPos(w/2-7,h/4) |
| 5 | print("COMPUTER LOCKED")
| |
| 6 | while true do | |
| 7 | write("Password: ")
| |
| 8 | st,inp = pcall(read,"*") | |
| 9 | if inp == settings.get("password") then
| |
| 10 | break | |
| 11 | end | |
| 12 | term.clear() | |
| 13 | - | term.setCursorPos(w/2-6,h/2) |
| 13 | + | term.setCursorPos(w/2-6,h/4) |
| 14 | print("ACCESS DENIED")
| |
| 15 | end | |
| 16 | term.clear() | |
| 17 | term.setCursorPos(1,1) | |
| 18 | end | |
| 19 | - | shell.run("os \UserFiles")
|
| 19 | + | shell.run("os /UserFiles")
|
| 20 |