is there any way to make the script wait until it finds the ord logs int he chat box
is there any way to make the script wait until it finds the ord logs int he chat box
SCAR Code:repeat
wait(10);
until(InChat('logs'));
That should work, unless InChat has been taken out of the srl include since I used it last like 1 year ago![]()
Note that you really should check for randoms inside that loop.
Interested in C# and Electrical Engineering? This might interest you.
i would also throw in antiban while its looping
Lance. Da. Pants.
And perhaps set a timemark or else it will be an endless loop![]()
Maybe I should have wrote a whole auto responder, a custom anti ban include, and a random walking function in there too lol. Guys, all he wanted to know was how to repeat waiting until something popped up in chat. He's a scripter; he can do the rest of the scripting himself. Just helping him with the part he's stuck on.
There are currently 1 users browsing this thread. (0 members and 1 guests)