Code: Select all
PixelGetColor, col,125,595 ,rgb
Clipboard := col
if col <> 0x2C6750 or col <> 0x244238 or col <> 0x255743
{Clipboard := col
Loop 300
{Sleep 10
PixelGetColor, col,125,595 ,rgb
}Until col = 0x244238 or col = 0x2C6750 or col = 0x255743
sleep 2300
}
sleep 200
Code: Select all
PixelGetColor, col,125,595 ,rgb
Clipboard := col
if col = 0x2C6750 goto label
if col <> 0x2C6750 or col <> 0x244238 or col <> 0x255743
{Clipboard := col
Loop 300
{Sleep 10
PixelGetColor, col,125,595 ,rgb
}Until col = 0x244238 or col = 0x2C6750 or col = 0x255743
sleep 2300
}
label:
sleep 200