Weapon Skills and Skill equip wont unequip

Hello everyone!

I have just realized my project has a big problem. First, a little explanation of the plugins and systems involved. I am using Yanfly's equip battle skills plugin. It limits the total amount of skills an actor can learn and adds a menu that allows the player to chose what skills are equipped or not.

Next, I have weapons in game that add a specific skill to the list of equippable skills.

Now, the issue. Unequipping a weapon that has a skill attached to it does not unequip the skill either. In my project, the prevoius skill is still useable even if another weapon is equipped. It will not disappear until an equipped skill is unequipped (seemingly refreshing the list).

What can be done to have the skill unequip itself from the actor upon the weapon being unequipped?
You could use this plugin. And run this code for when you unequip a weapon:
user.equipSkill(x, -1);

Where x is the id of the skill you want to de-equip.
Link is dead. What was the plugin?
I just figured it out, its WAY_CustomOnEquipEval.js
Yeah You can still get it, here.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-skills-and-skill-equip-wont-unequip.82195/