Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- status = "*CLOSED UNTIL PROGRAMMED* :O" --can be changed
- mon = peripheral.wrap("back") --replace with side that the monitor is on
- mon.setTextScale(2) --textsize
- term.redirect(mon) --redirects the terminal to the monitor
- term.clear()
- term.setCursorPos(1,1)
- center.PrintCenter("UPDATING......") --can delete these lines
- os.sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- center.PrintCenter "Liizzii's Internet Cafe" --REPLACE with your things
- os.sleep(0.5)
- center.PrintCenter "All Are Welcome!..." --REPLACE with your things
- center.PrintCenter "When it's built :P"
- os.sleep(0.5)
- center.PrintCenter(status) --prints that status message at the start
- os.sleep(60) --waits for a min
- term.restore()
- os.reboot() --reboots to update
- shell.run("startup") --if the pc failed to restart it would auto update anyway
Advertisement
Add Comment
Please, Sign In to add comment