Simba Code:begin
If FindObj(x,y,'Open',5393484,5) then
Begin
Writeln('Door is closed.');
ClickMouse2(True);
Writeln('Door is now open.')
end else if FindObj(x,y,'Close',8221554,5) then
Writeln('Door is already opened.');
Exit;
end;
now this is all fine and dandy when the door is closed, it opens it right up, but when it is already opened, it goes crazy looking at all of the other objects that are similar colors. i know that it can work because it goes to the door first every time, but it skips over it and goes through its routine until it goes back to the door a second time, then it realizes that it is opened and stops the script.
is there a better way to get it on the first time it hovers?


Reply With Quote








