What are variables? And how do I use them?
A variable is a location in memory which stores data within the program. This data can take the form of most values that exist in your game, making variables the most flexible, and useful, element of RMXP. To set the value of a variable through event commands, you must use the Variable Operations command. This will open the Variable Operations window. The window is divided into three sections: Variables, Operator, and Operand. The Variables section contains two values: Specific Variable and Variable Range. Specific Variable is used to select a single variable to modify. Variable Range is used to specify a series of variables to modify. For example, entering 1 into the first box and 5 into the second, you can modify variables 1-5 simultaneously. The Operator section contains six values: Set, + (Add), – (Subtract), * (Multiply), / (Divide), and Mod (Modulus). These values are used to modify and assign variable values. Set is the equivalent of “set equal to.” The following four are simple