Forcing player to drop or change equipped weapon.

Is there any way to force a player to drop the weapon they are holding, or alternatively forcing them to change the weapon they have equipped?

either of them to drop and this to change

and this will get the current held weapon