The /tprp (teleport to random player) command functions correctly, but in practice it frequently selects the same player multiple times in a row.
To improve the user experience and better reflect randomness, the selection logic should be improved. Consider increasing the randomness scale or temporarily excluding the last teleported player from the next selection.