well you could use a trigger for every player using the "alive" statement, and have that trigger run a script which increments a variable everytime a player respawns
************************************************************
in the init.sqs type the following line
westcount = 0
public variable "Westcount"
***********************************************************************
then create the following trigger in the editor
Text: EndGame
Type: End #1
Condition: EndGame
OnActivation: ForceEnd
************************************************************************
Then To set it up for west do the following
1) Name every player, W1, W2, W3 etc etc
and then for each player create the following REPEATING trigger
type:none
condition: alive w1 (Where w1 is a west player)
On activation: []exec "Westcount.sqs"
the trigger would then run something similar to the following
;;westcount.sqs
westcount = westcount +1
westcount publicvariable
?westcount == 10:EndGame=True
PublicVariable "EndGame"
exit
where 10 is the total number of respawns you want to allow for West, eg 9 deaths
to set it up for east, name all the players E1, E2, E3 etc etc ,
create a script called Eastcount.sqs
type the following into the init.sqs
eastcount=0
publicvariable "Eastcount"
hope this helps
basically what happens is
everytime an east or west player respawns, a script will be run which adds 1 to the publicvariables, east or westcount
when the score is, in this case 10, the mission will end