Advertisement
Guest User

linuxos

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