I don’t know much about windows script but it looks like your script is using if statements and not really arrays in my opinion. Usually, when you use arrays there’s really no need to use if statements. I think the general idea using blueprints and a text array would look like this though:
I’m just using the general “Print String” node, but you can change that to how you want to display your dialogues. I hope that helps you make some progress in your game. Actually, I don’t have a lot of experience with blueprints either, but I have years of experience using different programming languages and certain things are done in a similar way.