Skip to content

$endelseif

$endelseif is used to end an elseif statement.

Usage

$endelseif

Example(s)

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

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