<if condition="!is_member_of($usergroupid,38) AND !is_member_of($usergroupid,39) AND !is_member_of($usergroupid,39)">Display something here</if>
<if condition="!is_member_of($usergroupid,38,39,40)">Display something here</if>