Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | None | 0 0
  1. when Keyboard.Key is held down("K")
  2. begin loop()
  3. Macro.Pause("500")
  4. Keyboard.Press key("{<enter>}")
  5. when Color.At coordinate is (RGB)("99", "98", "98", "1276", "704")
  6. begin
  7. Keyboard.Insert text("/pokemarket")
  8. end
  9. when Color.At coordinate is (RGB)("224", "224", "224", "127", "710")
  10. begin
  11. Keyboard.Press key("{<enter>}")
  12. end
  13. when Color.At coordinate is (RGB)("198", "198", "198", "673", "222")
  14. begin
  15. Mouse.Click at coordinate("648", "296", "left")
  16. when Color.At coordinate is (RGB)("52", "67", "18", "609", "294")
  17. begin
  18. Mouse.Click at coordinate("614", "292", "left")
  19. end
  20. end
  21. when Color.At coordinate is not (RGB)("198", "198", "198", "673", "222")
  22. begin
  23. Keyboard.Press key("{<enter>}")
  24. when Color.At coordinate is (RGB)("99", "98", "98", "1276", "704")
  25. begin
  26. Keyboard.Insert text("/pokemarket")
  27. end
  28. when Color.At coordinate is (RGB)("224", "224", "224", "127", "710")
  29. begin
  30. Keyboard.Press key("{<enter>}")
  31. end
  32. when Color.At coordinate is (RGB)("198", "198", "198", "673", "222")
  33. begin
  34. Mouse.Click at coordinate("716", "298", "left")
  35. when Color.At coordinate is (RGB)("52", "67", "18", "609", "294")
  36. begin
  37. Mouse.Click at coordinate("614", "292", "left")
  38. end
  39. end
  40. end
  41. when Color.At coordinate is not (RGB)("198", "198", "198", "673", "222")
  42. begin
  43. Keyboard.Press key("{<enter>}")
  44. when Color.At coordinate is (RGB)("99", "98", "98", "1276", "704")
  45. begin
  46. Keyboard.Insert text("/pokemarket")
  47. end
  48. when Color.At coordinate is (RGB)("224", "224", "224", "127", "710")
  49. begin
  50. Keyboard.Press key("{<enter>}")
  51. end
  52. when Color.At coordinate is (RGB)("198", "198", "198", "673", "222")
  53. begin
  54. Mouse.Click at coordinate("754", "289", "left")
  55. when Color.At coordinate is (RGB)("52", "67", "18", "609", "294")
  56. begin
  57. Mouse.Click at coordinate("614", "292", "left")
  58. end
  59. end
  60. end
  61. when Color.At coordinate is not (RGB)("198", "198", "198", "673", "222")
  62. begin
  63. Keyboard.Press key("{<enter>}")
  64. when Color.At coordinate is (RGB)("99", "98", "98", "1276", "704")
  65. begin
  66. Keyboard.Insert text("/pokemarket")
  67. end
  68. when Color.At coordinate is (RGB)("224", "224", "224", "127", "710")
  69. begin
  70. Keyboard.Press key("{<enter>}")
  71. end
  72. when Color.At coordinate is (RGB)("198", "198", "198", "673", "222")
  73. begin
  74. Mouse.Click at coordinate("790", "294", "left")
  75. when Color.At coordinate is (RGB)("52", "67", "18", "609", "294")
  76. begin
  77. Mouse.Click at coordinate("614", "292", "left")
  78. end
  79. end
  80. end
  81. Function.Execute("PC")
  82. Function.Execute("Finder")
  83. if Keyboard.Key is held down("M")
  84. begin
  85. Macro.Break from loop("yes")
  86. end
  87. end
  88.  
  89. function("PC")
  90. when Color.At coordinate is not (RGB)("198", "198", "198", "673", "222")
  91. begin
  92. Keyboard.Press key("{<enter>}")
  93. when Color.At coordinate is (RGB)("99", "98", "98", "1276", "704")
  94. begin
  95. Keyboard.Insert text("/pc")
  96. end
  97. when Color.At coordinate is (RGB)("224", "224", "224", "40", "715")
  98. begin
  99. Keyboard.Press key("{<enter>}")
  100. end
  101. end
  102. function
  103.  
  104. function("Finder")
  105. when Color.At coordinate is (RGB)("136", "200", "128", "735", "116")
  106. begin
  107. Keyboard.Hold keys("{<shift>}")
  108. Mouse.Click at coordinate("533", "171", "Left")
  109. Mouse.Click at coordinate("587", "171", "Left")
  110. Mouse.Click at coordinate("657", "171", "Left")
  111. Mouse.Click at coordinate("708", "171", "Left")
  112. Mouse.Click at coordinate("770", "171", "Left")
  113. Mouse.Click at coordinate("830", "171", "Left")
  114. Mouse.Click at coordinate("533", "231", "Left")
  115. Mouse.Click at coordinate("587", "231", "Left")
  116. Mouse.Click at coordinate("657", "231", "Left")
  117. Mouse.Click at coordinate("708", "231", "Left")
  118. Mouse.Click at coordinate("770", "231", "Left")
  119. Mouse.Click at coordinate("830", "231", "Left")
  120. Mouse.Click at coordinate("533", "290", "Left")
  121. Mouse.Click at coordinate("587", "290", "Left")
  122. Mouse.Click at coordinate("657", "290", "Left")
  123. Mouse.Click at coordinate("708", "290", "Left")
  124. Mouse.Click at coordinate("770", "290", "Left")
  125. Mouse.Click at coordinate("830", "290", "Left")
  126. Mouse.Click at coordinate("533", "345", "Left")
  127. Mouse.Click at coordinate("587", "345", "Left")
  128. Mouse.Click at coordinate("657", "345", "Left")
  129. Mouse.Click at coordinate("708", "345", "Left")
  130. Mouse.Click at coordinate("770", "345", "Left")
  131. Mouse.Click at coordinate("830", "345", "Left")
  132. Mouse.Click at coordinate("533", "400", "Left")
  133. Mouse.Click at coordinate("587", "400", "Left")
  134. Mouse.Click at coordinate("657", "400", "Left")
  135. Mouse.Click at coordinate("708", "400", "Left")
  136. Mouse.Click at coordinate("770", "400", "Left")
  137. Mouse.Click at coordinate("830", "400", "Left")
  138. Keyboard.Release keys("{<shift>}")
  139. if Color.At coordinate is (RGB)("30", "30", "30", "16", "520")
  140. begin
  141. Mouse.Click at coordinate("822", "117", "Left")
  142. Function.Execute("Finder")
  143. end
  144. Keyboard.Press key("{<esc>}")
  145. end
  146. function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement