Ok i tried  to make my own thing like this, but it's not working. I have a quest that goes on the mobs that get killed, and then one on a trigger monster that will spawn the boss.
	Code:
	sub EVENT_DEATH {
quest::signalwith(1322,1,1);
}
 thats for the monsters that are killed.
	Code:
	my $counter;
sub EVENT_SPAWN{
 $counter =0;
}
sub EVENT_SIGNAL{
 if($signal ==1){
  $counter+=1;
 if ($counter ==9);
 quest::spawn2(1323,0,0,251, -682.6, -27.2);
 }
}
 I want it to spawn the boss after the 9 mobs are killed