MZ Variable as a parametrs for plugin settings

Hello, my dudes! It is not wesdenesday, but i have a question.
Can I imput a variable as a plugin parameter (in Plugin Command)?

Want to use it in common event, and i do not know javascript.
Yes, it's \V[2] for control variable 2 for example
depends on the plugin itself.

the plugin has to be able to process the variable, and that will depend on how it parses the plugin commands.
In some cases it will work, in other cases the plugin command will filter out the variable as nonsense or NIL.

With plugins from the big names it should work as those have the experience to handle things like that, but it is never guaranteed to work.
Hi there!

Are you asking that from the perspective that you are making a plugin and want to provide a variable for it to use on the parameters/plugin command?

Or are you using someone else plugin and want to use variables on their parameters/commands?
If that is the case, usually the plugin help file or parameter/command description says when and how you can use variables on it.
Yes, it's \V[2] for control variable 2 for example
That would only be true if the plugin ran the argument through the convertEscapeCharacters() Window method, which I've never seen.

By default, plugin arguments are text strings. Some authors run it through eval() but they'd explicitly tell you that JavaScript is accepted in those fields.
That would only be true if the plugin ran the argument through the convertEscapeCharacters() Window method, which I've never seen.

By default, plugin arguments are text strings. Some authors run it through eval() but they'd explicitly tell you that JavaScript is accepted in those fields.
Hmm, I thought it was common as it works in the couple of plugins I use it in - Triacontane's DTextPicture and Suppon Change Tile
Hi there!

Are you asking that from the perspective that you are making a plugin and want to provide a variable for it to use on the parameters/plugin command?

Or are you using someone else plugin and want to use variables on their parameters/commands?
If that is the case, usually the plugin help file or parameter/command description says when and how you can use variables on it.
Hi! I'm trying to use the picture animation plugin and want to change the parameter for speed from one of the variables, (so like person in animation runningf faster and faster each turn) so yes, using someone else's plugin. Well, i'm still a bit allergic to coding and trying to bypass it as much as i can for now...

depends on the plugin itself.

the plugin has to be able to process the variable, and that will depend on how it parses the plugin commands.
In some cases it will work, in other cases the plugin command will filter out the variable as nonsense or NIL.

With plugins from the big names it should work as those have the experience to handle things like that, but it is never guaranteed to work.

Thanks, i will try, maybe it will work!
Yes, it's \V[2] for control variable 2 for example
Thanks for the advice!

Original thread: https://forums.rpgmakerweb.com/threads/variable-as-a-parametrs-for-plugin-settings.163716/