Advertisement
Guest User

Untitled

a guest
Jun 12th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global c = 0
  2.  
  3. $WheelDown::            ; Down/Sleep/Up usage.
  4. key := DownSeqkeys("2","3","4")
  5. send {%key% Down}
  6. sleep, 20
  7. send {%key% Up}
  8. return
  9.  
  10. DownSeqkeys(k1,k2,k3){   ; 3 keys rotation, 8 second reset.
  11.     static s:=0, t:=8000
  12.     (A_TickCount-s<=t && c<3) ? c+=1 : c:=1, s:=A_TickCount
  13.     Return k%c%
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement