Arrays! Arrays! Arrays! Your code needs arrays.
What do you need these pots to do? How are they wired? What have you tried?