Script Request: Armor that disables ONLY Random battles

Hello people a lot smarter than me!

As the title states, I'm looking for a script that would allow just random battles (not ones in events) to be disabled while a piece of armor is equipped to anyone in the active party.

Thanks!
You don't need a script for this. Check out the last page of the features box. You want "Encounter None".
You don't need a script for this. Check out the last page of the features box. You want "Encounter None".
See, this is what happens when you are up for far to long, and dont have enough sleep. LOL

Thanks for the quick reply and actual fix for this problem!

Original thread: https://forums.rpgmakerweb.com/threads/script-request-armor-that-disables-only-random-battles.106326/