MV Save "var X = Y" assigned values between numerous script calls

Is it possible? It's getting tiring to paste var v = $gameVariables._data(etc) for each Script Call. I heard that MZ can save these. Is there a similar option for MV?
Where did you hear MZ can save these? There is nothing different between MV and MZ in this area.

Try putting this.v = whatever which will assign the variable to the interpreter and should make it available for all other script calls on that page. That should work for both MV and MZ. The equivalent XP, VX and Ace command would be self.v = whatever.

As $gameVariables._data is an array, you may need to clone it.
This isn't an RPG Maker thing, this is a Javascript thing. Variables have always been block-scoped.

As Shaz said, the way to create persistent data between script calls is to create a new property on an object that already exists. If you want a variable that isn't tied to a particular game entity, you can add properties to "window", which is the top-level object for the entire game DOM.
@Trihan Thank you! It worked!!!

◆Script:window.v = $gameVariables._data
: :window.s = self(3)
◆Script:s["Idunno HP"] = 75
: :v[1] = 75
◆Mensaje:Nada, Ventana, Inferior
: :\V[1]
◆Si:Script:s["Idunno HP"] == 75
◆Mensaje:Nada, Ventana, Inferior
: :Works!
◆
:Fin
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/save-var-x-y-assigned-values-between-numerous-script-calls.137933/