Question: How to split list of players into teams

Hi

Can someone improve my AI code so I get to the final team's config directly, rather than a series of set iterations? thanks 

teams.mw

set 1: Michael K, Andy C
set 2: Michael G, Mitch
set 3: Jez, Dean B
set 4: Anthony B, Rik B
set 5: Ilya, Fariborz
set 6: Eugene, Tania
set 7: Bill, Stevs
set 8: Victor, Jane
set 9: Nash, Ben
 

Please Wait...