Guest User

Untitled

a guest
Aug 13th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. NamE = "Akira.OS"
  2. VersioN = "v0.4"
  3. --os.pullEvent = os.pullEventRaw
  4. --
  5. term.clear()
  6. term.setCursorPos(1,1)
  7. term.setTextColor(colors.purple)
  8. textutils.slowPrint(NamE)
  9. term.setCursorPos(10,1)
  10. term.setTextColor(colors.blue)
  11. print(VersioN)
  12. --
  13. username = {"ShexianKyoto"}
  14. password = {"BabyGirl"}
  15.  
  16. term.write("Username: ")
  17. user = read()
  18.  
  19. term.write("Password: ")
  20. pass = read("*")
  21.  
  22. for i=1, #username do
  23. if user == username[i] and pass == password[i] then
  24. access = true
  25. end
  26. end
  27.  
  28. if access == true then
  29. print("Logging in..")
  30. print("Please wait!")
Add Comment
Please, Sign In to add comment