Actually it could just be set to check if you left clicked ( shot ), and to fix the problem with it switching on rifles and other weapons set another hotkey to turn it off, then the user can turn it off when using reg gun, switch to the sniper, turn it on, and when he shoots either no scopes or scopes in clicking the left mouse button, it will auto click 3, then back to the sniper. only problem would be the user would always have to put the sniper in a specific slot. a fix would be the program being customizable being able to set the keys to press when switching.