/*: *@plugindesc Prints to the console your name and age. *@author Rivendark *@help Just type in something to the Name and Age variables. Launch the game and press F8 to see how it works. *@param Name *@desc Enter your name here. *@default *@param Age *@desc Enter your age here. *@default */ var param = PluginManager.parameters("SampleMessage"); var myName = String(param["Name"] || "Unknown"); //sets myName variable equals to our Name parameter or (if Name is not defined) to default. var myAge = Number(param["Age"] || null); //same goes to Age param. What you type in default field of plugin description doesn't matter //since you define it here. I.e. if you change null to 123 it will become default value. console.log("Hello, my name is " + myName + " and I am " + myAge + " years old.");