Skip to content

$sub

$sub will subtract two given numbers.

Usage

$sub[num;num]

Parameters

FieldTypeDescriptionRequired
numnumberNumbers to perform calculation with.true

Example(s)

This will return 65 as 70-5 equals 65:

1
client.command({
2
name: "sub",
3
code: `
4
$sub[70;5]
5
`
6
});