tweakmeup Posted November 29, 2012 Share Posted November 29, 2012 Okay so i'm creating a script for prsc and attempting to have the script click on an NPC's shirt ~it's black. But, i've had SOOO much trouble with it, and i've realized the problem is the color codes are continuously changing. Even using ACA is not solving the issue as the color code changes to something else, and when the bot searches, the color I have in the script isn't there anymore! What function can I use to search for x, x1, x2. x3. x4 etc. colors, instead of just 1 color, so it goes through all the possibilities the color could be? Quote Link to comment Share on other sites More sharing options...
LordJashin Posted November 29, 2012 Share Posted November 29, 2012 http://wiki.scar-divi.com/index.php?title=FindColors You can use tolerance, and grouping/sorting but that's about it for color finding. Now you can detect pixel animation, and do text finding. here's an example using MSSL include: [scar] program aaa; {$DEFINE PRSC} {$I MSSL/MSSL.scar} begin MSSL_Setup; PRSC_Setup; if PRSC_UpText = 'Boomstick' then ClickMouse end. [/scar] Quote Link to comment Share on other sites More sharing options...