Forum Discussion
hooleylist
Sep 07, 2007Cirrostratus
The structure for an if statement is normally:
if {some condition}{
do something
} elseif {some other condition}{
do something else
} elseif {some other condition}{
do something else
} else {
take some default action
}
All statements after the first 'if' are optional. Logically, you wouldn't want to put an else anywhere in the middle of the rule, as it would match any case up til then and stop the rule from ever processing any of the subsequent elseif's.
If you want to perform other tests after the checks you posted, you could change the else to an elseif.
Also, are you running 9.0.3 or 9.3.0? 9.0.3 is a very old version with a lot of issues. You should consider upgrading to the latest maintenance release in the 9.3.x branch.
Aaron