UI to choose and store players

Im trying to do an user interface (on chat or written books it's okay) so that players can place a bet on other players for a game, and then if you bet on the player that won you get a reward and etc. The thing is I have no idea how to make that UI so that you can choose any online player, and it gets stored somewhere and then it checks who won

Continue to help post