Weapon transformation?

How do I create a weapon transformation event? One of my characters has this ability to change his stats (which stat changes are part of the other versions of his weapon), by transforming his weapon, however I don't want the other forms to be sitting in the inventory, how would I do this?
Insert command Change Equipment, replace the weapon, and then remove it from the inventory.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-transformation.81313/