well you could query the bind of MOUSE1 and then execute that command...
I am inquiring for my aimbot detection plugin. Some aimbots function by binding to the shoot button so it only aims when the shoot button is pressed. I would like to force the button press for this purpose.