Javascript in Note without plugin

What do I miss ? I'm looking for the right syntax to use simple javascript in note for one hour and I find only how to make plugins ...

I tried quotes, <$gameVar...> etc.

Many thanks !!!!

rrrrrrrrr.png
If there are no plugins using a note box then the note box does nothing.
Instead you can use the script box command under advanced inside an event to run simple javascript.
If there are no plugins using a note box then the note box does nothing.
Instead you can use the script box command under advanced inside an event to run simple javascript.
Yeah thanks, this calls an event already, and I need to set up a variable in this note box before calling the event

is there anything like :

<code>
$gameVariables.setValue(20,7);
</code>
or

<script: $gameVariables.setValue(20,7);>

??
Few questions that can help:
1. Under which tab is this particular note box?
2. Are you using this an item or skill to call a common event? If you are and you are using a constant value for the variable each time you call the common event, why not just change the value at the start of the event?
As already said, no.

Note boxes are note boxes - they're for making notes in the database. They do nothing. They are for your own reference purposes only.

The thing that makes them do stuff in the game is that plugins MAKE them do stuff. If you want to be able to put that code into a note box and have it executed, then you have to have a plugin that will make it happen.
@Antera if you only want to set data in the notebox, then search the help for the meta function, that is the default way for reading notetags.You need a script box in the common event to read data from the notebox however.

However, NOTHING in default can process data in the notebox. If you want to execute eval functions on anything in the notebox, then you need a plugin for executing that eval, it cannot be done by default engine.
Hello,

Thank you for your answers
Well I guess there is a small plugin which enable to do plain JS in the notebox
Anyway i managed to put my code in the formula box ^____^

Now I only have this last problem to resolve and I can go sleep :
https://forums.rpgmakerweb.com/inde...not-gamevariables-value-20-gainhp-6000.77153/

Original thread: https://forums.rpgmakerweb.com/threads/javascript-in-note-without-plugin.77149/