I want to set up a boss encounter within a dungeon that will only be attemptable by a set number of people/bots.  If the boss is aggroed and the number of players/bots is above this limit I want to have the boss kick these people outside of the room.
Is this possible?  Something similar to what Nagafen/Vox do, but for quantity of players, instead of level of players.
Here's the quest for reference:
	Code:
	sub EVENT_SPAWN {
  my $x = $npc->GetX();
  my $y = $npc->GetY();
  quest::set_proximity($x - 100, $x + 100, $y - 100, $y + 100);
}
sub EVENT_ENTER {
  if (($ulevel >= 53) && ($status == 0)) {
    quest::echo("I will not fight you, but I will banish you!");
    quest::movepc(30,-7024,2020,-60.7);
  }
}
sub EVENT_AGGRO {
  quest::settimer("getloc",15); #mob will get position every 15 seconds if pulled away from spawn point
}
sub EVENT_TIMER {
  quest::clear_proximity();
  my $x = $npc->GetX();
  my $y = $npc->GetY();
  quest::set_proximity($x - 100, $x + 100, $y - 100, $y + 100);
}
sub EVENT_DEATH {
  quest::stoptimer("getloc");
  quest::clear_proximity();
}