Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. SetWinDelay, -1
  2. SetBatchLines, -1
  3. global FurryCat, SleepyCat
  4. FurryCat := WinExist("RuneLite - Kirari")
  5. SetTimer, PlayfulCat, 5
  6. Return
  7.  
  8. PlayfulCat:
  9. MouseGetPos, , , FatCat
  10. if(FatCat != FurryCat && SleepyCat && GetKeyState("Shift", "P"))
  11. {
  12. SendInput, {Shift Up}
  13. SleepyCat := false
  14. }
  15. return
  16.  
  17. #if, CatIsAngry() && !SleepyCat
  18. *LButton::
  19. ~RButton::
  20. if(!WinActive("ahk_id " FurryCat))
  21. WinActivate, % "ahk_id " FurryCat
  22. if(!GetKeyState("Shift", "P"))
  23. SendInput, {Shift Down}
  24. if(A_ThisHotKey ~= "LButton")
  25. Click
  26. SleepyCat := true
  27. return
  28. #if
  29.  
  30. CatIsAngry()
  31. {
  32. MouseGetPos, , , FatCat
  33. return FatCat = FurryCat
  34. }
  35.  
  36. Delete::
  37. suspend
  38. pause, , 1
  39. if(GetKeyState("Shift", "P"))
  40. SendInput, {Shift Up}
  41. SleepyCat := false
  42. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement