MV Yanfly Item Requirements Eval Problems

Heyho,

I'd like to use Yanfly's Item Requirements Pluign to create an Item that's only usable if there are 4 or less members in the party. It's usable in battle only. However I run into a problem:

I thought putting
Code:
<Enable Requirements>
Eval: $gameParty.members().length < 5
</Enable Requirements>
into the Item Notetag would do it, but it forbids the item, regardless of the number of party members. In fact this happens with every Eval Condition I have tried. Even the example from Yanflys Website
Code:
Eval: $gameActors.leader().name() !== 'Ralph'
which should only forbid the skill if the party leaders name is Ralph, does not seem to work properly for me.
However all the non-eval conditions provided, like
Code:
Actor: 13
oder
Code:
Not State: 3
and so on work perfectly fine.

The problem remains even in a fresh project, so I don't think that it's a matter of compability or plugin order.
Does anybody else run into this problem? Or am I simply doing something wrong with the eval notetags?

Thanks in advance~
The Plugin has a bug. To fix it, open the Plugin and go to Line: 528 and change it to
JavaScript:
value = eval(code);

Also, this Notetag works as an alternative:
JavaScript:
<Custom Enable Requirement>
 condition = $gameParty.members().length < 5;
</Custom Enable Requirement>
Thank you! Worked perfectly 🙂

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-item-requirements-eval-problems.176659/