RavenOS

Untitled

Apr 4th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. f = fs.open("rSettings/username", "r")
  2. un = f.readLine()
  3. f.close()
  4.  
  5. if not fs.exists("rSettings/doNotLogin") then
  6. term.setBackgroundColor(system.color)
  7. term.clear()
  8. term.setCursorPos(1,1)
  9. text.center("Welcome, "..un, 0)
  10. sleep(2)
  11. shell.run("rOS/desktop")
  12. else
  13. term.setBackgroundColor(system.color)
  14. term.clear()
  15. term.setCursorPos(1,1)
  16. text.center("Welcome to RavenOS!", 0)
  17. sleep(2)
  18. shell.run("rOS/desktop")
  19. end
Advertisement
Add Comment
Please, Sign In to add comment