SHOW:
|
|
- or go back to the newest paste.
| 1 | status = "*CLOSED UNTIL PROGRAMMED* :O" --can be changed | |
| 2 | mon = peripheral.wrap("back") --replace with side that the monitor is on
| |
| 3 | mon.setTextScale(2) --textsize | |
| 4 | term.redirect(mon) --redirects the terminal to the monitor | |
| 5 | term.clear() | |
| 6 | term.setCursorPos(1,1) | |
| 7 | - | center.PrintCenter("UPDATING......") --can delete these lines
|
| 7 | + | |
| 8 | term.clear() | |
| 9 | term.setCursorPos(1,1) | |
| 10 | center.PrintCenter "JGreen's Internet Cafe" | |
| 11 | - | center.PrintCenter "Liizzii's Internet Cafe" --REPLACE with your things |
| 11 | + | |
| 12 | center.PrintCenter "All Are Welcome!..." | |
| 13 | - | center.PrintCenter "All Are Welcome!..." --REPLACE with your things |
| 13 | + | |
| 14 | os.sleep(0.5) | |
| 15 | center.PrintCenter(status) --prints that status message at the start | |
| 16 | os.sleep(60) --waits for a min | |
| 17 | term.restore() | |
| 18 | os.reboot() --reboots to update | |
| 19 | shell.run("startup") --if the pc failed to restart it would auto update anyway |