Well, I have NO experience with Torque Script, and what coding I can do (basic GML) is considered sloppy, but here goes. =P
Make a variable that goes up by one every time a shot comes out, and resets to zero when you release the mouse button. If the variable reaches a certain number, have it reload.
I'm sure theres a better way, though.