So my idea is that by pressing f1 it remembers the colors in 4 plases and check every 300 milisec and if any of them changes then click ealse loop again.
here is what I got so far:
f1:: ;to remember what colors are PixelGetColor, colortl, 911, 492 ;top left color PixelGetColor, colortr, 103, 424 ;top right Color PixelGetColor, colorbl, -92, 563 ;bottom left color PixelGetColor, colorbr, 207, 588 ; bottom right color f2:: ; to start looping loop: sleep 300 PixelGetColor, 2colortl, 911, 492 PixelGetColor, 2colortr, 103, 424 PixelGetColor, 2colorbl, -92, 563 PixelGetColor, 2colorbr, 207, 588 ;check what colors are there right now and if they are the same click ealse loop if %colortl% = %2colortl% send, {LButton} ealse reloop ;sorry I don't know how to make it loop again