| TinTin++ Mud Client Manual |
|
TinTin++ Function Gag Grep Help Highlight If Ignore Info Kill Line List Log Loop Macro Map Math Mathexp Message Name Nop Number Parse Path Pathdir Prompt Read Replacestring Return Run Scan |
|
|
| Math |
| Syntax: #math {variable} {mathematical expression} |
| See the Mathexp link for a list of operators that can be used. |
| Math allows you to do calculations and store the result in the given variable. It also allows for string and regexp comparisons. |
Example: #math sumvar {(1 + 1) * 10} |
| This basic operation would store the result (which is 20) in sumvar. |