I am Flame Sage, the NPC is Bob.
Flame Sage: (Hey / Hello / Yo) Bob.
Bob: Hey Flame Sage, have you heard about the [dark alley] on that back road over there?
Flame Sage: What dark alley?
Bob: I heard it has a [secret weapon]!
Flame Sage: a secret weapon?
Bob: Yes! I also heard you like [pancakes]!
Flame Sage: Really? Pancakes?
Bob: Yes!
Flame Sage: Goodbye Bob
Bob: Bye Flame Sage.
I want the conversation to continue once the keyword in [ ] are spoken, to start (and end) the conversation, say Hello / Goodbye.
How would I have the NPC say the next line when that key word is spoken? How would I track what line of the conversation I am on?
Something along those lines.