An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NRP Eval Plugin Command - NRP_EvalPluginCommand.js

Plugin desc : v1.031 Enable formulas and control characters in plugin commands.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_EvalPluginCommand.js

Desc page : http://newrpg.seesaa.net/article/475509661.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_EvalPluginCommand.js

File name : NRP_EvalPluginCommand.js

Help of plugin :

Enable formulas and control characters in plugin commands
 * This plugin works by simply applying it.
 * 
 * For example, if you want to use the variable1 as a parameter,
 * both of the following methods are valid.
 * 
 * > command $gameVariables.value(1)
 * > command ¥v[1]
 * 
 * Also, you can use "a" to refer to the subject during battle.
 * However, it cannot be used if the subject cannot be specified.
 * For example, at the beginning and end of a turn.
 * 
 * > command a.hp
 * 
 * [Note]
 * - Starting from ver 1.01, formulas are disabled by default.
 *  Only the control characters, such as ¥v[1], are valid.
 *  If you want to enable the formula, switch the parameter to enable it.
 * 
 * [Terms]
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @param enableEvaluate
 * @type boolean
 * @default false
 * @desc Enables formula evaluation of parameters.
 * 
 * @param ignoreDoubleBackslash
 * @type boolean
 * @default true
 * @desc Malfunctions are prevented by ignoring "¥¥" in the parameters.

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.