How to make a user input that sets a string change a bool from false to true?

So, in my poking around/attempt at learning I've created a scenario where the program asks your name, your age, and then relays both those strings back to you. From there, I want to make it so it gives you a secret message if the name typed in is "Tyler."

I'm trying to use a bool to detect if the [userIsTyler], because I don't know any other way, and I sort of know this. Something on the internet kinda helped but not exactly, and I've got everything figured out up to the point of getting the program to only give you the secret message if [userIsTyler] is set to true.

What I need to know is, how do I make it so when (and only when) they type "Tyler" into the string [name], the [userIsTyler] is set to true? If you need more info I can provide that to the best of my ability, and if I wrote something wrong with my question somehow I'll try to fix it. Thanks!
image.png
Was this page helpful?