gives either player names or indices depending on info received