Plugin parameters = plugin variables?

i have an issue with a plugin i am trying to develop for myself, i know how to make a plugin variable equal a @param, but what i am having trouble with is the other way around

I have a parameter @param date and i want it to equal var d which is equal to date.getDate()

The parameter is a @type variable[]

Does anyone know how i can accomplish this task

Thanks in advance
What are you trying to do? I can't imagine any scenario where you would need to assign a value to a plugin parameter other than the one that was entered in the plugin setup.
i am trying to get the system date and put it in a variable for ingame events
With plugins there's:
  • The author - you in this case;
  • Users - developers using your plugin; and
  • Players - people playing the game.
Parameters are for users to customise the plugin's behaviour without having to edit the plugin. 🙂

In this case it sounds like you just want to assign a variable without referencing the plugin parameters, e.g.
JavaScript:
var date = Date.now();
More info on the Date object here~
Ok thanks for that

Original thread: https://forums.rpgmakerweb.com/threads/plugin-parameters-plugin-variables.125085/