Advertisement
Guest User

Linux OS

a guest
Feb 8th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. --Bootup
  2. print("LINUX OS V1.0")
  3. sleep(0.6)
  4. textutils.slowPrint("######################")
  5. sleep(0.9)
  6. --Log In
  7. while true do
  8. term.clear()
  9. term.setCursorPos(1, 1)
  10. print("User:")
  11. input = read("X")
  12. if input == "Karol" then
  13. while true do
  14. term.clear()
  15. term.setCursorPos(1, 1)
  16. print("Password:")
  17. input = read("X")
  18. if input == "Carlito2006" then
  19. --System
  20. term.clear()
  21. term.setCursorPos(1,1)
  22. term.setBackgroundColor( colors.green )
  23. textutils.slowPrint("Welcome, User!")
  24. texutils.slowPrint("What do you want to do?")
  25. end
  26. end
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement