SHOW:
|
|
- or go back to the newest paste.
1 | password = 'Holo' | |
2 | output = 'right' | |
3 | timeOpen = 5 | |
4 | ||
5 | while true do | |
6 | term.clear() | |
7 | term.setCursorPos(1, 1) | |
8 | print('Please Enter Password:') | |
9 | ||
10 | if read('*') == password then | |
11 | rs.setOutput(output, true) | |
12 | sleep(timeOpen) | |
13 | rs.setOutput(output, false) | |
14 | end | |
15 | end | |
16 |