View Full Version : if isuptext('text') Not working!
Hugolord
05-17-2007, 01:42 PM
thats right i think if isuptext('') isn't working did rs change something im using scar 2.03 it was working fine before and i need it for my script.
Does anyone know how to fix this?
Markus
05-17-2007, 01:58 PM
Works fine for me...
Hugolord
05-17-2007, 02:12 PM
you using 2.03?
JuKKa
05-17-2007, 06:09 PM
it works fine, 2.03 and divi versions
Pentti
05-17-2007, 06:22 PM
If you are trying to search for two texts at the same time and the texts has different color, it wont work i think.
Example if you are trying to find for Attack Goblin
And you put if(IsUpText('ack Gob'))then it won't work I think.
PwNZoRNooB
05-17-2007, 07:21 PM
Or if you do it like
if(FindColor(blaa,blaa,blaa...)) then
begin
MMouse(x, y, 2, 2)
if(IsUpText('Blaa :)')) then
begin
GetMousePos(x, y)
Mouse(x, y, 0, 0, true)
end;
end;
You need to add a wait or it can't find the text, because it takes a few Ms to load it in the corner :)
if(FindColor(blaa,blaa,blaa...)) then
begin
MMouse(x, y, 2, 2)
Wait(125+random))
if(IsUpText('Blaa :)')) then
begin
GetMousePos(x, y)
Mouse(x, y, 0, 0, true)
end;
end;
Pentti
05-17-2007, 07:24 PM
PwNZoRNooB, No, you actually dont need wait times...
Hugolord
05-17-2007, 07:24 PM
oh ok i think its just a bug in my script ill try to get it fixed ty guys tho
Hugolord
05-17-2007, 07:39 PM
PwNZoRNooB, No, you actually dont need wait times...
I'm going with what Sami says :P
PwNZoRNooB
05-17-2007, 07:47 PM
PwNZoRNooB, No, you actually dont need wait times...
:confused: It didn't first work on me, but when I added the waits it worked. Maybe it was just a one time bug.
Well, there's no harm to wait the 100ms there :p
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.