Calc Command Plugin
Provides an ability to do simple calculations.
Parameters
The following parameters can be set:
| Setting | Type | Default | Description |
|---|---|---|---|
| Value | string | (none) | Expression to calculate |
Example: Basic Calculation
You can use it to do basic calculations (+, -, *, /, ^).
Calc "1 + 2 * 3"
Result for the example above would be 7.
Example: Increase Variable Value
You can use this to increase variable value.
Calc "$NUMBER + 1" /set=NUMBER