Code:
init 15
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Footmen Frenzy
Actions
Game - Display to (All players) for 4.00 seconds the text: (PLAYER_COLORS[(Player number of (Owner of (Triggering unit)))] + ((Name of (Owner of (Triggering unit))) + (|r + has been defeated!)))
Player Group - Remove (Owner of (Triggering unit)) from (All players)
Trigger - Turn off init 13 <gen>
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit))) and do (Unit - Kill (Picked unit))
Trigger - Turn on init 13 <gen>
Wait 2.00 seconds
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit))) and do (Unit - Remove (Picked unit) from the game)