Yanfly's Attachable Augments disappear on detach

Hey, everyone!

I was just working on my attachable augments and have thought of a way to balance it by making the attachable augment item disappear once it's detached on an equipment. I also know that there's an eval for this yanfly's plugin once the item is detached, I just do not know how to make it work. I tried putting inside the detach eval a scipt which decreases the quantity of that item, but it's not working.

I hope someone can help me with this. Thank you. 😀

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-attachable-augments-disappear-on-detach.78120/