Code:
796 if (ZONE_FLAGGED(i, ZONE_GRID)) { /* Is this zone 'on the grid' ? */
2797 if (lolev == -1) {
2798 /* No range supplied, show all zones */
2799 show_zone = TRUE;
2800 } else if ((hilev == -1) && (lolev >= ZONE_MINLVL(i)) && (lolev <= ZONE_MAXLVL(i))) {
2801 /* Single number supplied, it's in this zone's range */
2802 show_zone = TRUE;
2803 } else if ((hilev != -1) && (lolev == ZONE_MINLVL(i)) && (hilev == ZONE_MAXLVL(i))) {
2804 /* Range supplied, it's completely within this zone's range (no overlap) */
2805 show_zone = TRUE;
2806 } else if ((hilev != -1) && ((lolev == ZONE_MINLVL(i) && lolev <= ZONE_MAXLVL(i)) || (hilev == ZONE_MAXLVL(i) && hilev >= ZONE_MINLVL(i)))) {
2807 /* Range supplied, it overlaps this zone's range */
2808 show_zone = TRUE;
2809 //overlap = TRUE;
2810 } else if (ZONE_MAXLVL(i) < 0 && (lolev >= ZONE_MINLVL(i))) {
2811 /* Max level not set for this zone, but specified min in range */
2812 show_zone = TRUE;
2813 } else if (ZONE_MAXLVL(i) < 0 && (hilev >= ZONE_MINLVL(i))) {
2814 /* Max level not set for this zone, so just display it as red */
2815 show_zone = TRUE;
2816 overlap = TRUE;
2817 }
2818 }
Looks like this has started to get to where I was wanting to try and go with it.