<if condition="!(in_array($forum['forumid'], array(1, 2, 3)) AND is_member_of($post, 4, 5, 6))"> ... </if>