ArrowEdited logitech r6 recoil macro

Posts 1–4 of 4 · Page 1 of 1
Edited logitech r6 recoil macro
Code:
local recoil = false
local rapidfire = false

function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %s\n", event, arg)

if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
end

if (event == "MOUSE_BUTTON_PRESSED" and arg == 6) then
recoil = not recoil
if (recoil == true) then
OutputLogMessage("Recoil is On\n")
else
OutputLogMessage("Recoil is Off\n")
end
end


if (event == "MOUSE_BUTTON_PRESSED" and arg ==1 and recoil == true and rapidfire == false) then
if IsMouseButtonPressed(1) and IsMouseButtonPressed(3)then
repeat
MoveMouseRelative(-7,15)
Sleep(14)
MoveMouseRelative(7,-15)
Sleep(14)
until not IsMouseButtonPressed(1) or not IsMouseButtonPressed(3)
end
end


end

bind mouse6 / right click and fire

not very nice smg11/12/b9
How do you bind mouse6 and to what do you bind it to?
Quote Originally Posted by QuaggaJacks View Post
Does this still work?
works for me, and for you?
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?