Skip to content

$endif

$endif is used to end an if statement.

Usage

$endif

Example(s)

Example usage of $if: old (will return “Hello” when the condition is true):

1
client.command({
2
name: "endif",
3
$if: "old",
4
code: `
5
$if[1==1]
6
Hello!
7
$endif
8
`
9
});