Alias "Fire1" "+attack" Alias "Fire2" "-attack" Bind Mouse1 "+attack; wait; wait; wait; -attack; wait; wait; wait; fire1" Bind Mouse2 "+attack2; fire2"
This script is pretty rough, but it is also simple.
To fire in automatic with the carbine, just quickly press the fire-button. Before you change to another weapon, press the RMB, or you will start firing automatically as soon as you switch. This is better than the normal "Bind mwheeldown" script because it allows more accuracy and speed. I'll probably update this with a fire-mode switch later on.