Advertisement
Fear3d

Art_MVPluginCommands

Jul 4th, 2025
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //=============================================================================
  2. // Arthran MV Plugin Commands
  3. // Art_MVPluginCommands.js
  4. //=============================================================================
  5.  
  6. var Imported = Imported || {};
  7. Imported.Art_MVPluginCommands = true;
  8.  
  9. /*:
  10. * @target MZ
  11. * @plugindesc MV Plugin Commands - Ver 1.0 - Allows you to use MV plugin commands in MZ
  12. * @author Arthran
  13. *
  14. * @command oldPluginCommand
  15. * @text Old Plugin Command
  16. * @desc Allows you to use MV plugin commands in MZ.
  17. *
  18. * @arg command
  19. * @text Command
  20. * @desc The MV plugin command to use.
  21. * @type string
  22. *
  23. * @help
  24. * --------------------------------------------------------------------
  25. * This plugin allows you to use MV plugin commands in MZ. Just use the
  26. * "Old Plugin Command" plugin command that comes with this plugin, and
  27. * then enter the MV plugin command into the "Command" field.
  28. *
  29. * --------------------------------------------------------------------
  30. * Terms of Use
  31. * --------------------------------------------------------------------
  32. * Can be used in any type of project. Credit is welcome but not required.
  33. */
  34.  
  35. PluginManager.registerCommand("Art_MVPluginCommands", "oldPluginCommand", function(aArgs) {
  36.     const args = aArgs.command.split(" ");
  37.     const command = args.shift();
  38.     this.pluginCommand(command, args);
  39. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement