Equip/replace Weapons and Armors by selecting them without submenus

Hello everyone how are things going?
So i want to be able to equip weapons and armors by selecting them only from the "main" inventory.
By that maybe when i click on the weapon/armor i wanted, i would equip/unequip by selecting them. like a switch or something.. Thanks!
How would the engine know which actor to equip them on?
let's say i only use one actor..?
Any ideas or maybe there is already a script for that? i looked everywere but nothing..

Original thread: https://forums.rpgmakerweb.com/threads/equip-replace-weapons-and-armors-by-selecting-them-without-submenus.155631/