|
EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg, family)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
end
7624b={"35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35"}
762hd={"10","10","10","10","10","10","11","11","11","11","11","12","12","12","12","12","13","13","13","13","13","13","14","14","14","14","14","14","15","15","15","15","15","14","14","14","14","14","14"}
5564b={"35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35"}
556hd={"6.5","6.5","6.5","6.5","6.5","7.5","7.5","7.5","7.5","7.5","7.5","7.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","7.5","7.5","7.5","7.5","7.5","7.5","7.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","7.5","7.5","7.5","7.5","7.5"}
M16A44b={"35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35"}
M16A4hd={"10","10","10","10","10","10","11","11","11","11","11","12","12","12","12","12","13","13","13","13","13","13","14","14","14","14","14","14","15","15","15","15","15","14","14","14","14","14","14"}
AK4b={"35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35","35"}
AKhd={"6.5","6.5","6.5","6.5","6.5","7.5","7.5","7.5","7.5","7.5","7.5","7.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","7.5","7.5","7.5","7.5","7.5","7.5","7.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","8.5","7.5","7.5","7.5","7.5","7.5"}
yztw=0
if (event == "MOUSE_BUTTON_PRESSED" and arg == 6) then
zkg=false
if IsKeyLockOn("scrolllock") then
PressAndReleaseKey("scrolllock");
end
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
if (zkg)then
else
zkg=not zkg
end
556=false
M16A4=false
AK=false
if ( 762 ) then
else
762= not 762
end
jc()
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
if (zkg)then
else
zkg=not zkg
end
762=false
M16A4=false
AK=false
if ( 556 ) then
else
556= not 556
end
jc()
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 7 ) then
if (zkg)then
else
zkg=not zkg
end
762= false
556= false
AK= false
if ( M16A4 ) then
else
M16A4= not M16A4
end
jc()
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 10 ) then--4
if (zkg)then
else
zkg=not zkg
end
762= false
556= false
M16A4= false
if ( AK ) then
else
AK= not AK
end
jc()
end
function jc()
if IsKeyLockOn("scrolllock") then
else
PressAndReleaseKey("scrolllock");
end
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and IsModifierPressed("lshift") and IsModifierPressed("lalt") and yztw==1) then
Sleep (10)
PressMouseButton(1)
Sleep (10)
MoveMouseRelative(120,0)
Sleep (2)
MoveMouseRelative(120,0)
Sleep (2)
MoveMouseRelative(120,0)
Sleep (2)
MoveMouseRelative(120,0)
Sleep (2)
MoveMouseRelative(120,0)
Sleep (10)
ReleaseMouseButton(1)
Sleep (10)
MoveMouseRelative(-120,0)
Sleep (2)
MoveMouseRelative(-120,0)
Sleep (2)
MoveMouseRelative(-120,0)
Sleep (2)
MoveMouseRelative(-120,0)
Sleep (2)
MoveMouseRelative(-120,0)
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and zkg and not IsModifierPressed("lalt")) then
i=0
jc()
if 762 then
if IsKeyLockOn("capslock") then
ys=40
xy=7624b
else
ys=40
xy=762hd
end
end
if 556 then
if IsKeyLockOn("capslock") then
ys=40
xy=5564b
else
ys=40
xy=556hd
end
end
if M16A4 then
if IsKeyLockOn("capslock") then
ys=40
xy=M16A44b
else
ys=40
xy=M16A4hd
end
end
if AK then
if IsKeyLockOn("capslock") then
ys=40
xy=AK4b
else
ys=40
xy=AKhd
end
end
click = 1
Click()
end
if (event == "M_RELEASED" and arg == 3) then
Click()
end
if (event == "MOUSE_BUTTON_RELEASED" and arg == 1) then
Stopclick()
end
function Click()
if(i>39)then
i=0
end
i=i+1
MoveMouseRelative(0, xy[i])
PressAndReleaseMouseButton(1)
Sleep (ys)
if click == 0 then
Stopclick()
elseif click == 1 then SetMKeyState(3)
else Stopclick()
end
end
end
function Stopclick()
click = 0
end
|
|