Log in

View Full Version : Question of proper us of IF


tenbucks
05-14-2004, 02:12 PM
...............

Incendium
05-14-2004, 10:04 PM
I believe you want to use "is_member_of()".

Try:

<if condition="$show[member]">
<if condition="!is_member_of($bbuserinfo, 2) AND !is_member_of($bbuserinfo, 3) AND !is_member_of($bbuserinfo, 4)">
Code to Execute
</if>
</if>


That should work correctly. Oh and just a note, don't use ' in variable names, only when you are comparing a variable to a string.