Check Item's name.

Can I have a script call that checks an item's name and stores it into a variable?

Thank you.
What do you mean by check item's name?
I apologize for opening the topic and immediately finding the answer (even though I did a thorough research).

For any person that might want the script call:

$game_variables[x] = $data_items[n].name

Where x is the variables number and n the item's number.
Out of curiosity, why are you storing it in a variable?
lQu70Rs.png


Item Menu
Ah, so you're using it in a message, gotcha. Course, if you were using my dialogue from file script for your messages you could just have put \it[n, name] 😉
Oooooh, nice advertizing! *clap clap clap*

Original thread: https://forums.rpgmakerweb.com/threads/check-items-name.40471/