This function will allow you too easily make an if statement
This is the main function
$if[value1(!=/==/>=/<=/>/<)value2]
Can be used to return a message if the condition is false
Ends the if statement
Makes a chain with the if statement
$elseIf[value1(!=/==/>=/<=/>/<)value2]
Ends the else If chain
bot.command({
name: "if",
code: `
$if[1==1]
1 is equal to 1!
$else
1 is not equal to 1
$endif`
//This is your very simple if. All functions can be used
})
Using $elseIf
bot.command({
name: "if",
code: `
$if[1==1]
1 is equal to 1!
$elseIf[2==2]
2 is equal to 2
$endelseIf
$endif
`
})
Multiple $elseIf's
bot.command({
name: "if",
code: `
$if[1==1]
1 is equal to 1!
$elseIf[2==2]
2 is equal to 2
$endelseIf
$elseIf[3==3]
3 is equal to 3
$endelseIf
$endif
`
})