So in RPG Maker VX Ace, I was unable to find a way to prevent equipping two of the same type of weapon when the "Dual Wield" option is on, which allows equipping of two weapons.
It may make more sense if I explain why:
Each character has a certain weapon for them. For instance, one character has an SMG. That is part of the character. So instead of having weapons, I went under the "Terms" section and changed "Weapons" to "Attachments". In short, attachments are being equipped instead of weapons. Under "Weapon Types", I have a class for each type of attachment, like "Ammo", "Magazine", "Sight", etc. The issue is equipping two of the same thing at once. For instance, equipping two scopes, or having two foregrips on a weapon. I am planning for this to be a more serious game, not like some sort ridiculous Nerf combos video, so I need a script to prevent equipping of two of the same weapons of the same type.
If you don't get it, feel free to ask for more details. If you can help, thanks in advance.