Number Input Extremum

Description:
This allows you to set a max and min for the number input command. You can remove the max and min by setting it to any amount below zero. Also, digits will affect each other.

Plugin Commands:
Spoiler
Code:
Changelimit type value

For type you can put "Max" and "Min" without qoutes. And if you set the value
lower that 0, it will disable it.

Terms of Use/Credit:
Spoiler
You can use commercial or con-commercial games, but give credit:

Dragon3025: Plugin's Creator
Quoting this over here because it's relevant~
unfortunately it's missing the option to put in a variable's value as an extremum
A general workaround for that kind of thing is to invoke the plugin command with a Script command:
JavaScript:
this.pluginCommand("Changelimit", ["Max", $gameVariables.value(123)]);
I.e. "set the maximum for Number Input equal to the current value of variable ID 123".

Alternatively, in this specific case:
JavaScript:
$gameMaxNumberInput = $gameVariables.value(123);

(For the minimum, just replace Max with Min.)

Original thread: https://forums.rpgmakerweb.com/threads/number-input-extremum.74675/