The Prince of Randomness?
2006-04-18 18:40:36

:eek:
i Just Caught the evil chicken!
Anyway i made a Random Function for Scuney
its like FindObj but if it doesnt find the obj it looks for it with a Random tolerance
it also moves the mouse to it with a Random tolerance here it is :eek:
(its kinda lame)
function ChickenObj(var SSI, Squig: Integer; ObjText: string; ColoringInPencils, Tollipop:Longint):Boolean;
begin
if(FindObj(SSI, Squig, ObjText, ColoringInPencils, Tollipop))then
begin
Result:= True;
Mouse(SSI, Squig, 5+ Random(5), 5 + Random(5), True);
Flag;
end else
if(FindObj(SSI, Squig, ObjText, ColoringInPencils, tollipop + Random 6))then
begin
Result:= True;
Mouse(SSI, Squig, 5+Random(5), 5+Random(5), True);
flag;
end else
begin
Result:= False;
end;
end;
end;Me steals Pwnds standards but i have learnt yay!