A macro clicks for you when you fire, and can be set to suit each weapon. You have to set your fire button to middle mouse wheel, and then still fire as usual with your left click fire button. The macro will click for you at a set speed and lower the recoil and spread with each weapon.
Have a look here: https://www.mpgh.net/forum/showthread.php?t=623614