I've been wondering about this question myself while armor and accessories allow you to add auto states. Was wondering if it's even possible to add auto-states to weapons as well since this could open up some interesting possibilities.
Weapon Auto States
RPG Maker XP Supportonly with a script
Original thread: https://forums.rpgmakerweb.com/threads/weapon-auto-states.61393/