The general form for RMMV would be:
interpreter.pluginCommand(commandName, [arg1, arg2, ...]);
Where:
interpreter is a Game_Interpreter reference;
commandName is the command (string/text);
arg1, arg2, etc are the command arguments (also strings).
Unlike a Script command in an event, a move route has no natural interpreter reference: you'd need to remotely access the relevant interpreter. The main map interpreter is
$gameMap._interpreter, so you could try something like:
$gameMap._interpreter.pluginCommand("ItemBook", ["add", "weapon", "3"]);
This example uses a plugin command from ItemBook.js; edit the values as needed.
If the plugin command does not actively make changes to the interpreter then this kind of thing should be safe. In that case, though, I feel like the plugin should offer the relevant script call...like Shaz says, that depends on the plugin.
😴
Otherwise, I think this is the default map update order for events & move routes:
- Main interpreter (i.e. the current non-Parallel event, if any);
- Map event move routes;
- Parallel map events;
- Parallel common events;
- Player move route.