I prefer use of the variable myself, but you can write a trigger to automatically update it when you change weapons. In all these triggers I'm going to assume that the weapon's keyword is the last word of its name.
#TR {You wield (*)} {#VAR myWeapon %word(%1,%numwords(%1))}
#TR {Disarms you and sends your weapon flying.} {#T+ rewield; get @myWeapon}
#TR {You get * {@myWeapon}} {#T- rewield; wield @myWeapon} rewield
The last trigger should go into the class rewield.
Troubadour