Actor sprite change depending on armor worn and variable?

I'm looking for a script that can check what armor the actor is wearing and change their sprite depending on it, maybe with a variable check too so the sprite will change to something else if there's another deciding factor like different genders for that single actor.
You can use Himework's Event Equip Script. Then you can tie armours to different common events and work from there. 
You can use Himework's Event Equip Script. Then you can tie armours to different common events and work from there. 
This should work perfectly, thank you. :3

Original thread: https://forums.rpgmakerweb.com/threads/actor-sprite-change-depending-on-armor-worn-and-variable.43259/