Advertisement
Guest User

Untitled

a guest
Dec 27th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. master = ("Corvo")
  2. mpass = ("Dishonored") --master pass
  3.  
  4. sleep(0.5)
  5. print ("booting system, please wait")
  6. sleep(5)
  7. write ("Username: ")
  8. username = read()
  9. if username == (master) then
  10. sleep(0.75)
  11. print ("username found")
  12. sleep(0.5)
  13. write ("Password: ")
  14. password = read ()
  15. if password == (mpass) then
  16. sleep(1)
  17. print ("Account verified")
  18. sleep(0.5)
  19. print ("Welcome master")
  20. sleep(0.5)
  21. else
  22. print ("Username and password do not match \nShutting down...")
  23. sleep(3)
  24. os.shutdown ()
  25. end
  26. elseif username == (admin) then -- do not put this if you do not want other account
  27. sleep(1)
  28. print ("Username found")
  29. sleep(0.3)
  30. write ("Password: ")
  31. pword = read ()
  32. if pword == (apass) then
  33. sleep(1)
  34. print ("Account verified") sleep(0.5)
  35. print ("Welcome Admin")
  36. else
  37. sleep(1)
  38. print ("Username and password do not match \nShutting down...")
  39. sleep(3)
  40. os.shutdown ()
  41. end
  42. else
  43. sleep(1)
  44. print ("Username not found \nShutting down...")
  45. sleep(3)
  46. os.shutdown ()
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement