MZ Help with Visustella message core

I made a randomized chest and it works perfectly when i have one item type of item inside, i just /lastgainobj
the problem is when i do 2 different items per a chest how do i display in the message of the second item gained.

i did try

$gameMessage.add(`You Found \\item[$gameVariables.value(257)].`);
but i just literally get back in text "You Found \item[$gameVariables.value(257).

so i tried Visustella \Item[$gameVariables.value(257)] right in the message box and still got the same thing.
can some one please help me clear this up

the variable 257 is returning different values to use \item to display corresponding Item name in text
i am not trying to create a giant list of IF statements to match up with all the different loot.
Try this in Show Text:

\Item[\v[257]]
Alternately, you can add the randomized item to the party BEFORE the message and just use:
Code:
You found \LastGainObj!
in the message box.
Alternately, you can add the randomized item to the party BEFORE the message and just use:
Code:
You found \LastGainObj!
in the message box.
I want the variable to change so i can't use \v[257]

and I could do just last gain after each object and that was what i was doing originally but I want one text msg saying everything found in chest. like one message instead of 2-3 separate ones.
I want the variable to change so i can't use \v[257]
Ah, I think I see now. You could use several variables, one per drop item. E.g. if you can only get up to 4 item drops at a time, just have 4 variables, like: You found: \Item[\v[257]] \Item[\v[258]] etc. Maybe not quite the presentation you want, though.

I think either of these script calls should work:
JavaScript:
$gameMessage.add(`You Found \\item[${$gameVariables.value(257)}].`);
JavaScript:
$gameMessage.add("You Found \\item[" + $gameVariables.value(257) + "].");
Ah, I think I see now. You could use several variables, one per drop item. E.g. if you can only get up to 4 item drops at a time, just have 4 variables, like: You found: \Item[\v[257]] \Item[\v[258]] etc. Maybe not quite the presentation you want, though.

I think either of these script calls should work:
JavaScript:
$gameMessage.add(`You Found \\item[${$gameVariables.value(257)}].`);
JavaScript:
$gameMessage.add("You Found \\item[" + $gameVariables.value(257) + "].");
THANK YOU
JavaScript:
$gameMessage.add(`You Found \\item[${$gameVariables.value(257)}].`);
worked like a charm and i just got rid of last gain object and just used 2 of them. thank you again

Original thread: https://forums.rpgmakerweb.com/threads/help-with-visustella-message-core.152293/