Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hello! What's your name?")
- name=read() --Reads your name, you can put anything in here
- write("So your name is ")
- write(name)
- write(", what a beautiful name.\n") --psst psst, pokemon reference
- sleep(1)
- write("So how old are you?") --As with the name, you can write anything
- age=read()
- write("Aaah")
- write(age)
- print("")
- write("What do you want to discuss?\n")
- write("a.Elephants\n\nb.Eiffel tower\n\nc.Sweden\n")
- choice=read() --OBS! Only write a letter, no quotes, no words.
- if choice=="a" then
- write("elephants are green and have big moustaches.") --All this information is nonsense
- elseif choice=="b" then
- write("The Eiffel tower lies in Zimbabwe, It is the shortest tower in the world.")
- elseif choice=="c" then
- write("Sweden Is a country in asia, they hate exotic food and it is really hot there.")
- else
- write("Sorry but I don't understand.") --Rejects UnUnderstandable choices and words.
- end
- write("Well, goodbye!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement