Hello, I want to populate a command arg dynamically on the plugin startup.
JavaScript:
/*:
* @target MZ
* @author Raidez
*
* @command selectMotor
*
* @arg which
* @type select
* @option XP
* @option VX
* @option VX Ace
* @option MV
*/
(() => {
const PLUGIN_NAME = "test";
PluginManager.registerCommand(PLUGIN_NAME, "selectMotor", function (args) {
console.log(args);
});
})();