sweetjebus

display

Sep 22nd, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. os.sleep(2)
  8. term.clear()
  9. term.setCursorPos(1,1)
  10. center.PrintCenter "JGreen's Internet Cafe"
  11. os.sleep(0.5)
  12. center.PrintCenter "All Are Welcome!..."
  13. center.PrintCenter "When it's built :P"
  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
Advertisement
Add Comment
Please, Sign In to add comment