Advertisement
Guest User

Untitled

a guest
Feb 16th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. redo = False
  2. spam = True
  3. import time
  4. username1 = "tim"
  5. password1 = "p"
  6. log = "LogOff"
  7. msg = "Message Me"
  8. hi = "hi"
  9. bye = "bye"
  10. name = "what is my name?"
  11. yes = "yes"
  12. no = "no"
  13. catmeme = "Cat Meme"
  14. potato = "Kawaii Potato"
  15. c = "enter"
  16. ca = "cancel"
  17. gomad = "Go Mad"
  18.  
  19. username = input("Please enter your username: ")
  20. if username == username1:
  21. time.sleep(0.5)
  22. print("Attempting to access the database...")
  23. time.sleep(0.5)
  24. print("Database accessed...")
  25. time.sleep(1)
  26. print("Retrieving data...")
  27. time.sleep(1.5)
  28. print("Username accepted.")
  29. else:
  30. time.sleep(0.5)
  31. print("Attempting to access the database...")
  32. time.sleep(0.5)
  33. print("Database accessed...")
  34. time.sleep(1)
  35. print("Retrieving data...")
  36. time.sleep(1.5)
  37. print("Username denied. The program will now terminate itself.")
  38. exit()
  39. password = input("Please enter your password: ")
  40. if password == password1:
  41. time.sleep(0.5)
  42. print("Attempting to access the database...")
  43. time.sleep(0.5)
  44. print("Database accessed...")
  45. time.sleep(1)
  46. print("Retrieving data...")
  47. time.sleep(1.5)
  48. print("Password accepted.")
  49. else:
  50. time.sleep(0.5)
  51. print("Attempting to access the database...")
  52. time.sleep(0.5)
  53. print("Database accessed...")
  54. time.sleep(1)
  55. print("Retrieving data...")
  56. time.sleep(1.5)
  57. print("Password denied. The program will now terminate itself.")
  58. exit()
  59. print("Welcome", username1,)
  60. while redo == False:
  61. dowhat = input("What would you like to do: LogOff, Message Me, Cat Meme, Kawaii Potato, Go Mad: ")
  62.  
  63. if dowhat == potato:
  64. print("Ha! My personal favourite: https://goo.gl/mtw4M3 ")
  65. time.sleep(0.5)
  66. print("Enjoy.. lol")
  67. print("Sending you back to the main menu in 3seconds.")
  68. time.sleep(3)
  69. redo = False
  70.  
  71. if dowhat == catmeme:
  72. print("Let me have a look...")
  73. time.sleep(3)
  74. print("Ah! Finally found one you may like...")
  75. time.sleep(1)
  76. print("Now where did I put the link...")
  77. time.sleep(1)
  78. print("Ah, found it: https://goo.gl/3969YY ")
  79. time.sleep(0.6)
  80. print("Enjoy lol")
  81. print("Sending you back to the main menu in 3seconds.")
  82. time.sleep(3)
  83. redo = False
  84.  
  85.  
  86. if dowhat == msg:
  87. print("Say one of the following, and I will reply to you...")
  88. speak = input("You can say: hi, what is my name?, and bye: ")
  89. if speak != hi and speak != bye and speak != name:
  90. print("Please enter a valid command next time.")
  91. print("Sending you back to the main menu in 3seconds.")
  92. redo = False
  93. elif speak == hi:
  94. print("Hello")
  95. print("Sending you back to the main menu in 3seconds.")
  96. time.sleep(3)
  97. redo = False
  98. elif speak == bye:
  99. print("Cya!")
  100. print("Sending you back to the main menu in 3seconds.")
  101. time.sleep(3)
  102. redo = False
  103. elif speak == name:
  104. print("Your name is", username, "and you should know that you idiot!")
  105. print("Sending you back to the main menu in 3seconds.")
  106. time.sleep(3)
  107. redo = False
  108. else:
  109. pass
  110.  
  111. if dowhat == log:
  112. print("Are you sure you want to terminate the program?")
  113. terminate = input("yes/no: ")
  114. if terminate == yes:
  115. redo = True
  116. exit()
  117. else:
  118. print("Ok, terminating cancelled.")
  119. print("Sending you back to the main menu in 3seconds.")
  120. time.sleep(3)
  121. redo = False
  122. else:
  123. pass
  124.  
  125. if dowhat == gomad:
  126. forceclose = input("Are you sure you want to do this? It will never end, and you will have to force close the program! yes/no: ")
  127. if forceclose == no:
  128. print("Thankgod, I was panacking!")
  129. time.sleep(0.7)
  130. print("Sending you back to the main menu in 3seconds.")
  131. time.sleep(3)
  132. elif forceclose == yes:
  133. print("The maddness will start in 5 seconds!")
  134. time.sleep(1)
  135. print("The maddness will start in 4 seconds!")
  136. time.sleep(1)
  137. print("The maddness will start in 3 seconds!")
  138. time.sleep(1)
  139. print("The maddness will start in 2 seconds!")
  140. time.sleep(1)
  141. print("The maddness will start in 1 second, PREPARE YOURSELF!")
  142. time.sleep(1)
  143. while spam == True:
  144. print("This is going to get on your neves!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement