A global variable would be the easiest. You can get the name from the player with a Textbox object, and then set the global from that. So say you call the global variable "hero", you can then build the text the npc says with an expression like:
"hey " & hero & " how are you?"
hero & " , can you get me this stuff?"
The key thing is "&", which combines values together as text.