I'm a bit confused by the word "changing", it implies that you already dressed them? Do you mean change them "on the fly", like a gump to do it in game? Anyway, here's a snippet for adding close to an npc.

Shirt shirt = new Shirt();
shirt.Movable = false;
AddItem(shirt);
 
If your not looking to change in script, open npc paperdoll remove clothes add new ones.
 
Back