Script that generates a random attacking, defending or patrolling group from the config