How do i make variables in game

i have made someting you type in it and when you press enter it sends the string i want to make a var for everytime i press enter with this string in game while playing how do i this ?

Maybe what you want is an array of strings. You can turn any variable into an array AFAIK. So just make a string variable and then click on the little grid next to the variable type I think. Then you can use it to store as many strings as you want.

thank you