COLORREF tree = RGB(r_pixel_one, g_pixel_one, b_pixel_one);
COLORREF background = RGB(r_pixel_two, g_pixel_two, b_pixel_two);
int r_2,g_2,b_2;
int r_3, g_3, b_3;
int r_4, g_4, b_4;
pixel3 = GetPixel(hdc, one.x, one.y);
r_3 = GetRValue(pixel3);
g_3 = GetGValue(pixel3);
b_3 = GetBValue(pixel3);
COLORREF screen_now = RGB(r_3, g_3, b_3);
if(screen_now != tree || background){system("START rs_event_alert.exe"); system("PAUSE");}
pixel2 = GetPixel(hdc, eight.x, eight.y);
r_2 = GetRValue(pixel2);
g_2 = GetGValue(pixel2);
b_2 = GetBValue(pixel2);
if(r_2 == r_targetpix && g_2 == g_targetpix && b_2 == b_targetpix){ autodump(); }
Sleep(1500);
tree = RGB(r_pixel_one > r_pixel_one -20 && r_pixel_one < r_pixel_one +20, g_pixel_one > g_pixel_one -20 && g_pixel_one < g_pixel_one +20, b_pixel_one > b_pixel_one -20 && b_pixel_one < b_pixel_one +20); // and then the same thing for background just too lazy to write it, lol
char R = (char*)(tree)[0]; char G = (char*)(tree)[1]; char B = (char*)(tree)[2]; char A = (char*)(tree)[3];
