Sorry, but you should know by your self, as the game tells it to you...
alive command works only with units NOT WITH GROUPS, so you name it correct but make this kind of condition: Count units NAME1 == 0 It returns true, when everybody in the group are killed... (men=0)