ok if(isuptext('hest'))then isnt working -.-'' why not lol
ok if(isuptext('hest'))then isnt working -.-'' why not lol
Make sure you do mmouse first and try: if IsUpText('hest')then
Also make sure you uptext is correct, although we might need more code to see, what is really wrong.
Its should. Works for me i use it because if it doesn't find the uptext for me it doesnt right click. Show us your script maybe?
Edit: Bahhh everyone beats me to it![]()
Isn't it "RS_GetUpText" ??
That returns a string afaik
IsUpText('sdfa') is a boolean
Originally Posted by irc
Hes got it right, maybe not setup script properly.
SCAR Code:If(IsUpText('hest'))Then
Please post entire script.
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
What you posted should work.
Could you explain what exactly isn't working about it ?
And just to check, you used SetupSRL ?
Scripts: AIOCurser !, Tea Stall Thiever !, Flax Picker !
Other: Objective Functions, Scarduku
Tutorials: How to create a plugin for Simba, [VB.NET] Using My.Settings, [Photoshop] Basic Abstract Art
Outdated: m!ne v1.00 [STATS]
I've seen this happen to a lot of people. I'm guessing that you are doing something like:
Or something along those lines. Someones code like the latter will not work because the RS uptext doesn't appear right away, thus causing the boolean to be false. What you should do is add a random wait in your procedure, like this:SCAR Code:program New;
begin
if FindBitmap(Bitmap, x, y) then
begin
MMouse(x, y 4, 4);
if IsUpText('hest') then
Mouse(x, y, 0, 0, True);
end;
end.
Someone as simple as that can fix your problem. Hopefully that works.SCAR Code:program New;
begin
if FindBitmap(Bitmap, x, y) then
begin
MMouse(x, y 4, 4);
Wait(80 + Random(100));//Something along this line.
if IsUpText('hest') then
Mouse(x, y, 0, 0, True);
end;
end.
Cheers,
Coh3n
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
There are currently 1 users browsing this thread. (0 members and 1 guests)