This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reference:spamrules_statement_if [2011/08/22 11:49] – simon | reference:spamrules_statement_if [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| * There must be a space on either side of the relational operator. | * There must be a space on either side of the relational operator. | ||
| * All **If** statements must be followed by an **EndIf** statement | * All **If** statements must be followed by an **EndIf** statement | ||
| + | * You may optionally include an **Else** statement | ||
| Line 35: | Line 36: | ||
| </ | </ | ||
| - | You may optionally include an **Else** statement, for instance | + | Using the **Else** statement |
| < | < | ||
| If ${score} < 100 | If ${score} < 100 | ||