I'm currently working on something for a friend, which involves user input from up to 6 different people. However, I need a way to efficiently compare the 6 inputs, and make sure they're unique. I know how to store the inputs into say, variables %1, %2, %3, %4, %5, and %6, but I am unaware if there is any easier way to compare them besides using a large number of if then else branches.

Could I get some help? Thanks.