Wouldnt with case the bot will be open to answer to anyone?
You can put cases inside if statements and vice versa
You can put cases inside if statements
noif ( true ){ case "nothing": quit();}not valid
Case statements, or switch statements. You know perfectly well what I mean.
No. Switch statements are containers for case statements. Case statements can only be in switch statements. Switch statements can be in case statements, though. No other syntax constructs than case statements can be in switch statements.
You know perfectly well what I mean.
This clearly states that the following syntax construct:case = "case", whitespace, {whitespace}, ["\""|"\'"], [char_strb, {char_cstr}], ["\""|"\'"], {whitespace}, ":", {whitespace}, lang_containedCan be placed within the following syntax construct:if = "if", {whitespace}, "(", {whitespace}, expression, {whitespace}, ")", ("{", lang_contained, "}")|(lang_contained_single)Which is not true.