Log in

View Full Version : isuptext problem



asdfasdfasdf
03-06-2007, 08:47 PM
if isuptext('ine') then
begin

end;
anyways the above doesn't manage to find "ine" in "Mine"..I'm trying to make it automine..but it never manages to find the text.. help?

Jason2gs
03-06-2007, 08:50 PM
Is there code in between "begin" and "end;"?

asdfasdfasdf
03-06-2007, 09:12 PM
Yeah,

writeln('found text');
mouse(x,y,0,0,false);
wait(100+random(500));
ChooseOption(x, y, 'ocks');
doing:=true;
done:=done+1;

But I doubt that matters. The fact is it hovers over a rock, but doesn't see the "Mine rocks" text..So I haven't even been able to test if everything after it finds the text works or not, but it would have done the whole writeln thing so I know it would've worked..

Jason2gs
03-06-2007, 09:22 PM
True. Perhaps you didn't target the RS window? That's the only thing I can think of.

Smartzkid
03-06-2007, 09:59 PM
Heh... I know!

SetupSRL;

I love it when people forget that :p

Jason2gs
03-06-2007, 10:00 PM
Heh :p

asdfasdfasdf
03-06-2007, 10:59 PM
Jason was right, rs window wasn't set ;)