I am making a mod with a Japanese setting. I want to be able to wear pants over the bottom of a robe (like the robe is tucked into the pants). The robe takes up the Upper and Lower body equipment slots and the pants obviously take up the Lower Body slot. I have 3 meshes: the pants, the full robe, and just the top of the robe. All I need is a script...
I was thinking of when you equip the pants, it tests if you are wearing the robe. Then it removes the robe and gives you just the top. But this didn't work.

Perhaps there is some way of testing if a slot is taken up. So then the robe will constantly test if the player is wearing pants. And, if they are, give them only the top part of the robe.
Thanks in advance,
Haloblivion.
P.S. Sorry if you cannot understand what I mean.