Yanfly Engine: Equip Requirements Using Variables

Okay, so I'm having this problem in RPG Maker MV. I'm trying to use Yanfly's Equip Requirements plugin to make weapons that require certain variables to be a certain amount before you can use them. Unfortunately, the plugin only supports this through Javascript, which is making things difficult for me.


Can anyone help me out here? I don't know much about Javascript, so this is completely alien territory to me.


EDIT: Okay, got an answer. Thanks for the help!
Please rename your topic so that the title tells us what you need help with, the title "some more help" is basically useless.



Additionally, please link to the script you're using, not everyone has it available at any time


Third, if you don't know javascript you can ask here to get help, but for that we need to know exactly what you want to achieve, because we would have to program it for you.


Can you describe that in more detail?
 < Custom Equip Requirement Condition >
if ($gameVariables.value(x) == y) {
    condition = true;
} else {
    condition = false;
}
</Custom Equip Requirement Condition>

if variable x is equal to y. then true.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-engine-equip-requirements-using-variables.57774/