<if condition="!in_array($forum['forumid'], array(x, y, z))"> stuff only if NOT in forums x, y, and z </if>