to make it clearer: I want to make sure that all the things that are on the avatar are NOW removed from the back.
You could use a for loop to loop through the character, and check for accesories, then check if the accessory type is a certain something, and if it is then delete it.