Log in

View Full Version : Loop until it finds text?



stein3
03-30-2007, 08:20 PM
I'm sure theres a tutorial somewhere but I can't find it :duh: :confused:

I just want to make it so that it does one procedure until a certain thing pops up in the text box and then it switches to another procedure.

I'm working on my second script. My first is just a walker cause I couldn't find any out there and I died a lot when I auto-woodcutted willows,
Any help?

nielsie95
03-30-2007, 08:25 PM
Repeat
//Ur functions here.. like
wait(200)
until(FindText(..) or Inchat(..)) //or whatever you need
//next function
WriteLn('Were out of the loop =]');

stein3
03-30-2007, 08:27 PM
k thanks. Do I need to include SRL for either of those or are the just SCAR commands?

Smartzkid
03-30-2007, 09:01 PM
Yes, most of the [simpler] textfinding commands are SRL