$math
$math will return a calculated result of the given argument.
Usage
$math[equation]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| equation | string | Calculation (/*-+()) | true |
Example(s)
This will return 205 as 15+5/2*26+(5+120) equals it:
1client.command({2 name: "math",3 code: `4 $math[15+5/2*26+(5+120)]5 `6});