Elseif

Description
Provides an elseif comparison.

Syntax
if then elseif then

Parameters

 * condition1
 * the first expression for the if statement to evaluate
 * command1
 * the first statement to execute only if the first condition is true
 * condition2
 * the second expression for the elseif statement to evaluate
 * command2
 * the second statement to execute only if the first one fails but this condition has succeeded

Examples
if then elseif then