Trying to get items to increase variables while equipped

I wasn't sure if there was a way to do this via plug-in or if someone could let me know a way to do it via JS? The key is that it's for equipment and the variable needs to increase only while equipped...

Need to make more than the 6 stats (ATK, DEF, etc) which is why I am trying to do this...

Thank you for any assistance in this...
not possible without a plugin, because you need to trigger commands on equipping something.

theoretically it might be possible to have a parallel process check equipment and change variables depending on the results, but that is often difficult to make for more than a few equipments, and always adds to lag.

I know such scripts and plugins were written for Ace and MV (by several people including Tsukihime), but I don't know if any of those have been ported to an MZ plugin yet or not.
Search for a plugin that runs common events on equip

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-get-items-to-increase-variables-while-equipped.130700/