${If} ${Expr} `(R0 == 9 || r0 == 3) && (R0 == 0 || !r2)`
...Or they can be evaluated with their result written to a variable:${ExprEval} `(r3 + 20) / 3 * -2` $R0http://nsis.sourceforge.net/NsExpr_plug-inSee Readme.txt in the zip file for available operators. May need some further testing.
Stu