ต้องแก้สคริปต์ยังไงให้ยิงได้หลายๆสีครับ
- Code:
HotKeySet ("{ENTER}", "Start")
HotKeySet ("{ESC}", "_Exit")
While 1
Sleep(250)
WEnd
Func Start()
While 1
$pxs = PixelSearch(206,290,798,682,0xBD0202)
If isArray($pxs) then
MouseMove($pxs[0],$pxs[1], 0)
MouseClick("Left")
EndIf
WEnd
EndFunc
Func _Exit()
Exit
EndFunc