<Solved> Can you turn a switch on by equipping a piece of armour?

Hey gang!

I'm wondering if it's possible, either through the base engine or with an easily available plugin, to turn a switch on when a given piece of equipment is worn by an actor, and then back off when it is unequipped?

I ask because I'm trying to create cursed equipment in my game. I want it to be that the rules change a little when a cursed piece of kit is worn or wielded, and that removing it reverts them to normal. You have to use an item to remove them, mind, because cursed kit can't be removed manually, and the item that you'd use is consumable, but I'm getting off topic.

Is this something we can do already? Is it even possible at all? If not, it's a shame, but not exactly a tragedy, as I have many cursed items that still work anyway.

Any help you can provide would be greatly appreciated, and as always, thanks for reading!
This thread has a few links you could probably make use of. The third link in-particular looks like a pretty lightweight plugin that allows you to specify common events called on equip and unequip. You could have an equip common event that turns the switch on, then an unequip common event that turns the switch off.
I used the third link. At first I had an error that prevented me from testing the plugin, but others in the post had a similar error and someone made a fixed version that also worked for me. Thanks for the heads up, Zevia!
@marbeltoast if a topic is solved, you need to report it to be closed - the mods don't read every title or post

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-can-you-turn-a-switch-on-by-equipping-a-piece-of-armour.104355/