Advertisement
tabnation

uggghhhhh

Jan 23rd, 2022
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. CoordMode, Pixel, Window
  2. areax1 = 30
  3. areay1 = 99
  4. areax2 = 828
  5. areay2 = 540
  6.  
  7. f1::
  8. settimer, whichcat, 1000 ;check for cat
  9. Return
  10.  
  11.  
  12. whichcat:
  13. ;=====================check 1=================================================
  14. PixelSearch,px,py, %areax1%,%areay1%,%areax2%, %areay2%, 0x2366B1,3, Fast
  15. if ErrorLevel
  16. {
  17. }
  18. else
  19. {
  20. settimer, whichcat, off
  21. msgbox, Hi Pumkin
  22. Return
  23. }
  24. ;=====================check 2=================================================
  25. PixelSearch,px,py, %areax1%,%areay1%,%areax2%, %areay2%, 0x1C4B89,3, Fast
  26. if ErrorLevel
  27. {
  28. }
  29. else
  30. {
  31. settimer, whichcat, off
  32. msgbox, Hi Pumkin
  33. Return
  34. }
  35. ;=====================check 3=================================================
  36. PixelSearch,px,py, %areax1%,%areay1%,%areax2%, %areay2%, 0x2F68A9,3, Fast
  37. if ErrorLevel
  38. {
  39. }
  40. else
  41. {
  42. settimer, whichcat, off
  43. msgbox, Hi Pumkin
  44. Return
  45. }
  46. ;=====================check 4=================================================
  47. PixelSearch,px,py, %areax1%,%areay1%,%areax2%, %areay2%, 0x4D95C5,3, Fast
  48. if ErrorLevel
  49. {
  50. }
  51. else
  52. {
  53. settimer, whichcat, off
  54. msgbox, Hi Pumkin
  55. Return
  56. }
  57. Return
  58.  
  59. f2::exitapp
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement