<n.if.equal value1="[n.random max='2'/]" value2="1"> <then>your code</then> <else>his code</else> </n.if.equal>