How to handle the equipping part of an inventory system

So I’m making a character inventory where when you equip a character it changes your look to the one you want. The problem is the character names can be rolled the same, and they can each be progressed individually so I need to grab them somehow and check if theyre equipped when a player has joined. What’s the best way I can do this other than looping through the inventory and checking if every specific character has a value of ‘slota’, ‘slotb’, and ‘slotc’, etc. and if they’re true firing the client to let it know?