if [<value>] (<operator>) (<value>) (&&/||) (…)
Checks the specified conditions before allowing the following block of commands to run or not
Parameters:
- The value to be compared with something else, or the condition in the form of true or false directly.
- 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.
- 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.
- The logical operator to be used between any comparisons in the case of multiple comparisons in one if statement.
- Additional comparisons in the form of parameters 1 to 3.