eatnumber1 0 Posted May 23, 2004 (edited) i need help making a program that reads pixel colors and acts based upon their color... how do i find out the pixel(s) number(s) that i need, and the decimal value of the color this is what i have... Sleep(100000); $pixelcolor = 0; $tell = 2; WinWaitActive("FFXiApp"); while $tell > 1 AutoItSetOption("SendKeyDownDelay", 0100); sleep(0250); Send ("/echo Hi, I'm Working...", 1); Sleep (0250); Send ("{ENTER}"); sleep(10000); if pixelgetcolor(22,994) = 16756479 or pixelgetcolor(21,994) = 16756479 or pixelgetcolor(20,994) = 16756479 or pixelgetcolor(19,994) = 16756479 or pixelgetcolor(18,994) = 16756479 or pixelgetcolor(17,994) = 16756479 then Send ("/echo If Is Working....", 1); sleep(0250); Send ("{ENTER}"); AutoItSetOption("SendKeyDelay", 0235); AutoItSetOption("SendKeyDownDelay", 0100); Send ("^r"); Sleep(0250); Send ("Im busy now, im really sorry, but ill have to blacklist u till i get back..."); Sleep (0250); Send ("{ENTER}"); sleep(0350); Send ("^r"); sleep(0350); autoitsetoption("sendkeydowndelay", 5000); sleep(0250); send ("{LWIN}") sleep(0250); autoitsetoption("sendkeydowndelay", 0100); sleep(0250); Send ("{DEL}"); sleep(0010); Send ("{DEL}"); sleep(0010); Send ("{DEL}"); sleep(0010); Send ("{DEL}"); sleep(0010); Send ("{DEL}"); Sleep(0250); Send ("/blist", 1); Sleep(0250); Send ("{ENTER}"); EndIf wend btw.... this is 4 ffxi to respond to a /tell someone sends me so i dont get booted from the game for having a bot... so, u can use it if u want, just give props where props are due... add it to ure fishing bot if u want... once this is done, ill post my finished fishing bot if u want Edited May 23, 2004 by eatnumber1 Share this post Link to post Share on other sites