How can I make a dialogue system

My idea is to have a text box, and then the text of it is a string variable. I’m very new to this software so I have no idea what I’m doing

Hi @hyperfixaden and welcome!

Maybe the page below can help you.

is that even the best way to make a dialogue system? are there any better ways?

That’s the only way I’m aware of.