Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 give a ** ^^ ;)
- end
- if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then
- recoil = not recoil
- else if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then
- recoilhard = not recoilhard
- else if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then
- lol = not lol
- end
- if event == "MOUSE_BUTTON_PRESSED" and IsMouseButtonPressed(3) and arg == 1 and recoil then
- if recoil then
- repeat
- Sleep(5)
- MoveMouseRelative(2, 4)
- Sleep(5)
- MoveMouseRelative(-2,-4)
- -- VSS Unmodded
- until not IsMouseButtonPressed(1)
- end
- else if event == "MOUSE_BUTTON_PRESSED" and IsMouseButtonPressed(3) and arg == 1 and recoilhard then
- if recoilhard then
- repeat
- Sleep(10)
- MoveMouseRelative(0, 0)
- Sleep(10)
- MoveMouseRelative(-0, -0)
- -- General
- until not IsMouseButtonPressed(1)
- end
- else if event == "MOUSE_BUTTON_PRESSED" and arg == 1 and lol then
- if lol then
- repeat
- Sleep(10)
- MoveMouseRelative(0, 0)
- Sleep(10)
- MoveMouseRelative(-0, -0)
- -- General
- until not IsMouseButtonPressed(1)
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement