Macro for Logitech

07/23/2017 19:36 Mikytes#1
Hello to everyone, there is a good macro/script for logitech mouse (I could pay too).
07/23/2017 22:34 roboticfeever#2
I have a logitech mouse and i bought mine on legit-helpers.com
There is also some free ones one the forums here, but i haven't tried them, since i heared some of them are detected.
07/24/2017 10:46 nheira0000#3
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

MoveMouseRelative(-2, 5)
Sleep(10)
MoveMouseRelative(2, -5)
Sleep(21)

until not IsMouseButtonPressed(1)
end
end
end
07/24/2017 14:44 Mikytes#4
Quote:
Originally Posted by nheira0000 View Post
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

MoveMouseRelative(-2, 5)
Sleep(10)
MoveMouseRelative(2, -5)
Sleep(21)

until not IsMouseButtonPressed(1)
end
end
end
Thank you! There isn't ban risk right?

Quote:
Originally Posted by roboticfeever View Post
I have a logitech mouse and i bought mine on legit-helpers.com
There is also some free ones one the forums here, but i haven't tried them, since i heared some of them are detected.
Legit helpers is for logitech too? Because I've saw that macros are good only for bloody mouse, razor and a7