MV Check which equipment slot is being used

I am using Yanfly's Equip Core and Equip Requirements. Is there a way to use an eval to check which equip slot is being used when equipping something? I have custom equip requirement with a conditional branch which should do two different things depending on the equip slot. For instance: If equipping slot x, do this, if equipping slot y, do that.
$gameParty.equips() && $gameParty.equips()[x] (or around those)
replace x with the ID of weapon, armor, boots which is in the tab "type -> Armor Types &
Equip Types" respectively.

equip types check the slots, but you also need to define the party member.
if it exist and is in party, depending in which way you want to check for the skill
and if it can be used by 1 actor or multiple actors.

I dont know lunatic codes, so it might be different in there than eventing.

Original thread: https://forums.rpgmakerweb.com/threads/check-which-equipment-slot-is-being-used.129663/