Return name of item id in text

Sorry if the title isn't super clear. Basically, I want an NPC to return the name of an item with the id <x> when talked to. So it would look like this "I'll have a <ItemId>". I'm not very sure how to go about doing this since doing "I'll have a $dataItems[2].name" just gives "I'll have a $dataItems[2].name".
When you're doing "I'll have a $dataItems[2].name" , the $dataItems[2].name part is becoming a part of the string. So, you have to put that inside a game variable and then use \V[x] to show it.
Screen Shot 2020-07-26 at 1.10.55 PM.png
Doesn't work. Just gives me this
Can I see your event page?
Screen Shot 2020-07-26 at 1.13.27 PM.png
This won't work because it's now a part of the message and not a variable.
Go to control variable and set $dataItems[id].name at script. Then type in Here's a \V[id] recipe as the message text.
1595783989963.png1595783933128.png
Thank you!
Glad it's working now ^^

Original thread: https://forums.rpgmakerweb.com/threads/return-name-of-item-id-in-text.124541/