MV assign numerical values into each item

Hi Guys

Is a there a script or plugin that can assign numerical values into each item

For example,
assign item A = 1
assign item B = 3

If item A < B, return ....

Thanks for any thoughts
Is a there a script or plugin that can assign numerical values into each item
For example,
assign item A = 1
assign item B = 3

If item A < B, return ....
You mean like this?
1598063551453.png

1598063662605.png

1598063835486.png
Hi yes but I am trying to use select item command to compare these 2 items but does not work


$dataItems[7].meta.Value = $gameMessage.setItemChoice(7, 1);

or

$gameMessage.setItemChoice(7, 1).meta.Value

In other words, how can we compare these item meta value using select item command?

Any suggestions
Now it boils down to 2 steps

First, after select item $gameMessage.setItemChoice(1, 1).

did the variable store anywhere from this script ? if not how can I store whatever selected item into new variable.

new variable = $gameMessage.setItemChoice(1, 1);

after that I can just compare variables as ct_bolt suggested

Original thread: https://forums.rpgmakerweb.com/threads/assign-numerical-values-into-each-item.125674/