Hi
so i never used an script and such but i have been reading up on these codes for no-recoil scripts for logitech

i only have one single problem with the codes that i found
these codes have an activation button and when activated and the mouse 1 is pressed the gun goes down but i want to make it so when the profile is active i have to hold mouse 2 and mouse 1 to have that no recoil effect

there are lots of codes but lets say this is the code

function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %d\n", event, arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
elseif event == "PROFILE_DEACTIVATED" then
ReleaseMouseButton(2) -- to prevent it from being stuck on
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
recoil = not recoil
spot = not spot
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
if recoil then
repeat
--Sleep(35)
Sleep(8)
MoveMouseRelative(0, 2)

until not IsMouseButtonPressed(1)
end
end
end



the reason why i want this is when trying shoot normal like with an sniper and such , you just tap the mouse 2 and go into the ADS mode and since you are not holding it nothing will happen but if you try to spray with a gun you tap and hold down the mouse 2