try this one, it works for me...just make sure your Ejecting Group and Chopper are in seperate groups...
exec it with ["NameofChopper", "NameofGroup"] exec "eject.sqs"
eject.sqs is...
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
_Heli = _This select 0
_group = _This select 1
_aunits = (units _group)
_heli setspeedmode "limited"
~2
_heli flyinheight 130
~1
@ ((getpos _heli) select 2 ) > 100
_i = 0
_j = count _aunits
#Here
(_aunits select _i) action ["EJECT",_heli]
unassignvehicle (_aunits select _i)
_i=_i+1
~0.5
?_j>_i:goto "Here"
_heli forcespeed 80
~2
_heli setspeedmode "normal"
exit