Log in

View Full Version : Need help with procedure for non runescape script



MetalancA
08-10-2008, 08:49 PM
I'm making a script that would basically enter numbers into a website, and I was wondering if there was a procedure that finds a certian color in a certian area, like maybe:


If Findcolor('53563', 75, 86, 89, 42) then
begin


Like it has to find a certian color in those coordinates. Is there a procedure like that?

noidea
08-10-2008, 10:22 PM
FindColorSpiral
FindColor
FindColorSpiralTolerance
FindColorTolerance
findobjcustom

noidea

TViYH
08-11-2008, 02:46 AM
I think this should work:


function FindTheColor(xCoord1, yCoord1, xCoord2, yCoord2, color: integer): boolean;
begin
if FindColor(x, y, color, xCoord1, yCoord1, xCoord2, yCoord2) then
Result := True;
end;

basic_i
08-11-2008, 11:49 PM
you have it down, just remove the quotation marks

MetalancA
08-12-2008, 08:21 PM
Thanks voice that worked