I'm creating a game and I need a fill command to have a 50-50 chance of opening one of two gates (Ex. This will be activated when a button is pressed to start game). The obvious choice would to use the @r selector, but I don't know how to apply this to a command block command.
I'm running 1.10.2 and this is only a two player game. (For me and a friend)