======Spam Filter Rules: If====== ^Statement |If | ^Version |2.1.7+ | ^Purpose |Enables you to perform a simple relational test on a variable | You can specify a variable or a constant on either or both sides of the relational operator. The relational operator can be one of: ^== |Test for equality | ^= |::: | ^<> |Test for inequality | ^!= |::: | ^<= |Test for less than or equal | ^>= |Test for greater than or equal | ^< |Test for less than | ^> |Test for greater than | * There must be a space on either side of the relational operator. * All **If** statements must be followed by an **EndIf** statement * You may optionally include an **Else** statement =====Examples===== If ${score} < 100 # Statements EndIf Note that it is not possible to combine tests within a single **If** statement, so if you need to test if two conditions are both met, you will need to nest two **If** statements, for instance If ${score} < 100 If ${subject} = "Hello" # Statements EndIf EndIf Using the **Else** statement If ${score} < 100 # Statements Else # Statements EndIf