Else

else (if) (<value>) (<operator>) (<value>) (&&/||) (…)

Catches an if statement that does not pass and encapsulates a block of commands to run in such an event.

Parameters:

  1. a literal “if” text to signal the start of a new if statement.
  2. The value to be compared with something else, or the condition in the form of true or false directly.
  3. The comparison operator to be used between the previous and following value. This parameter can be optional if the first provided value returns true or false by itself.
  4. The value to be compared with the previous provided value. This parameter can be optional if the ifrst provided value returns true or false by itself.
  5. The logical operator to be used between any comparisons in the case of multiple comparisons in one if statement.
  6. Additional comparisons in the form of parameters 1 to 3.