Advanced part 2
Donate for my bot to sustain it: https://www.patreon.com/user?u=99116894
Last updated
Donate for my bot to sustain it: https://www.patreon.com/user?u=99116894
Last updated
"!if" and "!else" 's
With if and elses you can make conditions for commands and alternate them through comparation statement
Example:
As you can see the result can be sucess or failure depending on what you roll, being it higher than 18 means sucess, and lower or equal to 18 a failure
You can use "<", ">", "<=", ">=", "==", or "!=" when comparing values
This is the simplest way of making comparations with this command, there is also two complex ways of making this, one if making ifs inside ifs, or ifs inside elses
Example with if in if:
As you can see the multicondition is working perfectly well with if inside ifs
Example with if inside else:
This is the if inside else working perfectly, one serves for a niche and the other for another niche
Adendum: The ifs inside ifs accept to compare !math, !select, and !roll to work properly, while if inside elses accepts even !echo