One interesting thing that could be added to the plugin is an option called "remove other weapons" (with the default value of zero) when using a custom weapon.
It works exactly the way you think: when such a custom weapon is used, all other weapons will be removed from the player's loadout.
One exception could be made to the Engineer's melee weapons to not make them delete his PDAs, and another could be made for the Spy's disguise kit (these two exceptions would also be options, with both having the default value of zero).
One interesting thing that could be added to the plugin is an option called "remove other weapons" (with the default value of zero) when using a custom weapon.
It works exactly the way you think: when such a custom weapon is used, all other weapons will be removed from the player's loadout.
One exception could be made to the Engineer's melee weapons to not make them delete his PDAs, and another could be made for the Spy's disguise kit (these two exceptions would also be options, with both having the default value of zero).