Let's try this one, mixing together the Clothes Chest and some of WhoopA's excellent scripting techniques...
NPC Code:
if(playerchats){
tokenize skin coat sleeve shoe belt;
for(this.i=0;this.i<5;this.i++){
if(startswith(#t(this.i),#c)){
tokenize #c;
setplayerprop #C(#v(this.i)),#t(1); /**
or setplayerprop #C(this.i),#t(1);
or if(this.i=0) setplayerprop #C0,#t(1);
else if(this.i=1) setplayerprop #C1,#t(1);
else if(this.i=2) setplayerprop #C2,#t(1);
else if(this.i=3) setplayerprop #C3,#t(1);
else if(this.i=4) setplayerprop #C4,#t(1);
**/
}
}
}
One of those variations should do the trick.