Advertisement
Maniklas

Discussion, by Maniklas

Jan 19th, 2016 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Hello! What's your name?")
  2. name=read()                       --Reads your name, you can put anything in here
  3. write("So your name is ")
  4. write(name)
  5. write(", what a beautiful name.\n")  --psst psst, pokemon reference
  6. sleep(1)
  7. write("So how old are you?")          --As with the name, you can write anything
  8. age=read()
  9. write("Aaah")
  10. write(age)
  11. print("")
  12. write("What do you want to discuss?\n")
  13.  
  14. write("a.Elephants\n\nb.Eiffel tower\n\nc.Sweden\n")
  15. choice=read()                                             --OBS! Only write a letter, no quotes, no words.
  16.  
  17. if choice=="a" then
  18.   write("elephants are green and have big moustaches.")         --All this information is nonsense
  19. elseif choice=="b" then
  20.   write("The Eiffel tower lies in Zimbabwe, It is the shortest tower in the world.")
  21. elseif choice=="c" then
  22.   write("Sweden Is a country in asia, they hate exotic food and it is really hot there.")
  23. else
  24.   write("Sorry but I don't understand.")                 --Rejects UnUnderstandable choices and words.
  25. end
  26.  
  27. write("Well, goodbye!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement