Modvar
modvar <gamevar> <value>
This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus (aka reminder) of <gamevar>/<value>.
modvar <gamevar> <value>
This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus (aka reminder) of <gamevar>/<value>.