TheTrickster

advertBoard

Apr 12th, 2012 (edited)
1,548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  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
  8. os.sleep(2)
  9. term.clear()
  10. term.setCursorPos(1,1)
  11. center.PrintCenter "Liizzii's Internet Cafe" --REPLACE with your things
  12. os.sleep(0.5)
  13. center.PrintCenter "All Are Welcome!..." --REPLACE with your things
  14. center.PrintCenter "When it's built :P"
  15. os.sleep(0.5)
  16. center.PrintCenter(status) --prints that status message at the start
  17. os.sleep(60) --waits for a min
  18. term.restore()
  19. os.reboot() --reboots to update
  20. shell.run("startup") --if the pc failed to restart it would auto update anyway
Advertisement
Add Comment
Please, Sign In to add comment