Try something like this in the player's init field:
this addeventhandler ["FIRED",{if (not ((_this select 1) in ["hk","Bizon","Uzi"])) then {[] exec "script.sqs"}]
That should detect if the player fired anything other than the Mp5, Bizon or Uzi and run script.sqs if they did.