TinTin++ Mud Client Manual  
Math
space
Syntax: #math {variable} {mathematical expression}
space
See the Mathexp link for a list of operators that can be used.
space
Math allows you to do calculations and store the result in the given variable. It also allows for string and regexp comparisons.
space
Example: #math sumvar {(1 + 1) * 10}
This basic operation would store the result (which is 20) in sumvar.
space