<if condition="is_member_of($bbuserinfo, x)"> Stuff for users in usergroupid x <else />> Stuff for users not in usergroupid x </if>