Posts: 2
the point to replace it is the 0x2A3A85 keep in mind, that ahk uses BGR so change 0x2A3A85 to 0x3B498A and try whether the code works!Show Spoiler;Close Match Stats CloseMatchstats: counter=0 xcord:=xedge+487 ycord:=ytitlebaredge+603 MouseMove, %xcord%, %ycord% xcordl:=xedge+444 ycordl:=ytitlebaredge+602 xcordu:=xedge+446 ycordu:=ytitlebaredge+604 PixelSearch, , , %xcordl%, %ycordl%, %xcordu%, %ycordu%, 0x2A3A85 , 5 while (ErrorLevel = 1 and counter<60000) { Sleep, 100 PixelSearch, , , %xcordl%, %ycordl%, %xcordu%, %ycordu%, 0x2A3A85 , 5 counter = counter+1 }