Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redo = False
- spam = True
- import time
- username1 = "tim"
- password1 = "p"
- log = "LogOff"
- msg = "Message Me"
- hi = "hi"
- bye = "bye"
- name = "what is my name?"
- yes = "yes"
- no = "no"
- catmeme = "Cat Meme"
- potato = "Kawaii Potato"
- c = "enter"
- ca = "cancel"
- gomad = "Go Mad"
- username = input("Please enter your username: ")
- if username == username1:
- time.sleep(0.5)
- print("Attempting to access the database...")
- time.sleep(0.5)
- print("Database accessed...")
- time.sleep(1)
- print("Retrieving data...")
- time.sleep(1.5)
- print("Username accepted.")
- else:
- time.sleep(0.5)
- print("Attempting to access the database...")
- time.sleep(0.5)
- print("Database accessed...")
- time.sleep(1)
- print("Retrieving data...")
- time.sleep(1.5)
- print("Username denied. The program will now terminate itself.")
- exit()
- password = input("Please enter your password: ")
- if password == password1:
- time.sleep(0.5)
- print("Attempting to access the database...")
- time.sleep(0.5)
- print("Database accessed...")
- time.sleep(1)
- print("Retrieving data...")
- time.sleep(1.5)
- print("Password accepted.")
- else:
- time.sleep(0.5)
- print("Attempting to access the database...")
- time.sleep(0.5)
- print("Database accessed...")
- time.sleep(1)
- print("Retrieving data...")
- time.sleep(1.5)
- print("Password denied. The program will now terminate itself.")
- exit()
- print("Welcome", username1,)
- while redo == False:
- dowhat = input("What would you like to do: LogOff, Message Me, Cat Meme, Kawaii Potato, Go Mad: ")
- if dowhat == potato:
- print("Ha! My personal favourite: https://goo.gl/mtw4M3 ")
- time.sleep(0.5)
- print("Enjoy.. lol")
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- redo = False
- if dowhat == catmeme:
- print("Let me have a look...")
- time.sleep(3)
- print("Ah! Finally found one you may like...")
- time.sleep(1)
- print("Now where did I put the link...")
- time.sleep(1)
- print("Ah, found it: https://goo.gl/3969YY ")
- time.sleep(0.6)
- print("Enjoy lol")
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- redo = False
- if dowhat == msg:
- print("Say one of the following, and I will reply to you...")
- speak = input("You can say: hi, what is my name?, and bye: ")
- if speak != hi and speak != bye and speak != name:
- print("Please enter a valid command next time.")
- print("Sending you back to the main menu in 3seconds.")
- redo = False
- elif speak == hi:
- print("Hello")
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- redo = False
- elif speak == bye:
- print("Cya!")
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- redo = False
- elif speak == name:
- print("Your name is", username, "and you should know that you idiot!")
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- redo = False
- else:
- pass
- if dowhat == log:
- print("Are you sure you want to terminate the program?")
- terminate = input("yes/no: ")
- if terminate == yes:
- redo = True
- exit()
- else:
- print("Ok, terminating cancelled.")
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- redo = False
- else:
- pass
- if dowhat == gomad:
- 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: ")
- if forceclose == no:
- print("Thankgod, I was panacking!")
- time.sleep(0.7)
- print("Sending you back to the main menu in 3seconds.")
- time.sleep(3)
- elif forceclose == yes:
- print("The maddness will start in 5 seconds!")
- time.sleep(1)
- print("The maddness will start in 4 seconds!")
- time.sleep(1)
- print("The maddness will start in 3 seconds!")
- time.sleep(1)
- print("The maddness will start in 2 seconds!")
- time.sleep(1)
- print("The maddness will start in 1 second, PREPARE YOURSELF!")
- time.sleep(1)
- while spam == True:
- print("This is going to get on your neves!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement