Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- Coordmode, Mouse, Window
- SendMode Input
- SetTimer, Reset, 100
- global Count := 1
- #If WinActive("RuneLite")
- $WheelUp::
- $WheelDown::
- if Count(4, 1) OR Count(4, 3)
- Click Left
- else if Count(4, 2)
- MouseMove, 40, 0, 0, R
- else if Count(4, 4)
- MouseMove, -40, 0, 0, R
- return
- Reset:
- If (A_TimeSinceThisHotkey > 2000)
- Count := 1
- Return
- Count(Limit, Check) {
- If (Count = Check) {
- Count := ((Count >= Limit) ? 1 : Count + 1)
- Return True
- }
- Return False
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement