MV Put Note in Textbox

What is the simplest way of writing something in the "Enemies" "Note" section and having it show up in a text box.

I want to write something like <Act1: SPD Up> in the Notes of a monster and have a text box then display "SPD Up" during gameplay.
You can access that notetag by referencing the meta property on the enemy. Like $gameTroop.members()[0].meta.Act1
You can access that notetag by referencing the meta property on the enemy. Like $gameTroop.members()[0].meta.Act1
I tried something like that, but when i used "$dataEnemies[2].meta.Act1" the textbox read "$dataEnemies[2].meta.Act1" instead of the string that should point to...
Did you put it in quotes?
Did you put it in quotes?
Yes, the quote marks just showed up in the box.

The best solution I found is to use the /N[] to pass a string in the form of an actor name.

That way i can just change the actor name to what i need it to be.

It is a janky solution so I am open to suggestions.
Wait, did you try entering that code in the "show text" command? That won't work, it doesn't eval that way.

You'd need to store the result in a game variable or something and then show that variable in the box.
Wait, did you try entering that code in the "show text" command? That won't work, it doesn't eval that way.

You'd need to store the result in a game variable or something and then show that variable in the box.
The variables in the event manager are only numbers, that is why i am storing the result as an actor name
You can store literally anything in a game variable if you assign a script call to it.

If you go to the "script" operand and put in $dataEnemies[2].meta.Act1, whatever is in that notetag will be assigned to the game variable you select. You can then do \v[whatever] in the text box to show the string that you put in the variable.
You can store literally anything in a game variable if you assign a script call to it.

If you go to the "script" operand and put in $dataEnemies[2].meta.Act1, whatever is in that notetag will be assigned to the game variable you select. You can then do \v[whatever] in the text box to show the string that you put in the variable.
This worked thank you

Original thread: https://forums.rpgmakerweb.com/threads/put-note-in-textbox.134789/