all the GameConnections connected to the sever are put into the "ClientGroup" script group. here, have an example script which echoes all player names to console
%count = ClientGroup.getCount();
for(%i = 0; %i < %count; %i++)
{
%client = ClientGroup.getObject(%i);
echo(%client.getPlayerName());
}