Weapon swapping, but not? Active weapons?

How would I make it so that, you can equip two weapons, but only have one "Active" weapon? I.e, you can have a 2h sword, and a dagger equipped, but you have to spend a turn to go to the dagger, and it removes all of your 2h abilities, but gives you dagger abilities. If you swap from the dagger, you likewise, lose dagger abilities, and go back to 2h abilities.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-swapping-but-not-active-weapons.178310/