This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:spamrules_statement_if [2011/08/22 11:44] – created simon | reference:spamrules_statement_if [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======Spam Filter Rules: ====== | + | ======Spam Filter Rules: |
| ^Statement | ^Statement | ||
| ^Version | ^Version | ||
| Line 7: | Line 7: | ||
| ^== |Test for equality | | ^== |Test for equality | | ||
| - | ^= |Same as == | | + | ^= |::: | |
| - | ^< | + | ^<> |
| + | ^!= | ||
| + | ^< | ||
| ^> | ^> | ||
| ^< |Test for less than | | ^< |Test for less than | | ||
| ^> |Test for greater than | | ^> |Test for greater than | | ||
| - | ^<> | ||
| - | ^!= |Same as <> | | ||
| * 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 | ||