Include Equipment not working

Hi, I create this condition:

If Party has sword (Include Equipment)
Text: "You have sword equiped"
Else
Text: "Please equip your sword"

When the player has sword but it is not equiped, it still show the first text which is "You have sword equiped"
The second text only will show if the player doesn't have any sword in weapon tab.

Please help.
You get the message precisely because the sword is in the inventory. Look at your condition - it asks if the party has the sword. It tells the engine to include the equipment as well as being in the inventory. As the equipment does exist, the condition is met. You will need to use a script call for the conditional. Unfortunately I don't know what it is in MV, only in Ace, so you will have to wait for someone to supply it for you, but I think it will be the Javascript equivalent of
Code:
$game_party.battle_members.any? {|actor| actor.weapons.include?($data_weapons[id]) }
Thanks for your reply, never though it was this hard just to make simple thing.
Use in conditional branch→script:
Code:
$gameParty.isAnyMemberEquipped($dataWeapons[id])
id is the database number of the weapon.
It works!! Thanks! 🙂
Eventcommand Conditional Branch - Page2 Actor1 or someone else, Item Sword equiped? Yes and else case possible.
@Bex is right, you can event it too. If you have eg. 3 party members:
Spoiler
event.png
Thank you for that @Bex, I just got back to RPG Maker after such a long time and its felt like being new to this lol.

Original thread: https://forums.rpgmakerweb.com/threads/include-equipment-not-working.112585/