would this be it then
_plane = _this select 0
_delay = _this select 1
;eliminates all possible non-cargo units
_crew = (crew _plane) - [driver _plane,commander _plane,gunner _plane]_crewcount = (count _crew) - 1
_i = -1
#loop
?_i == _cargocount:exit
_i = _i + 1
_man = _cargo select _i
_man action ["eject",_plane]
~_delay
goto "loop"
exit