This page contains all commands related to
manipulating values.
Command |
Description |
rndv variable min# max# | Creates
a random number in the range set by min# and max#, and gives the value to the variable. |
setv variable value | Used
to set the variable to any value. Note that you can use
any other variable to give you the value. For example: setv var2 5 or setv obv1 baby |
addv value1 value2 | Sets value1 to value1 plus value2 |
subv value1 value2 | Sets value1 to value1 minus value2 |
mulv value1 value2 | Sets value1 to value1 multiplied by value2 |
divv value1 value2 | Sets value1 to value1 divided by value2 |
modv value1 value2 | Sets value1 to rounded down value of value1 divided by value2 (integer divide). |
negv value | Sets value to zero minus value |
andv value1 value2 | value1 = value1 AND value2 (?) |
orrv value1 value2 | Sets value1 to either value1 or value2 |