I'm unsure if this is the correct area to post in, but I'm in need of some help. I've been working on a simple woodcutting script (it's for a RSPS, but that shouldn't matter. Just trying to dip my feet into programming.) The code that is giving me an issue is this:
Simba Code:
procedure ChopDown;
var X, Y: integer;
begin
repeat
if FindObj(x, y, 'hop', 5531242, 5) then
Mouse(x, y, 0, 0, true);
repeat
wait(3000+random(250));
Until not IsUpText('hop') or (InvFull);
until (InvFull);
Is there something I can use that is better than the "Until not IsUpText"? It will click the tree, and when it runs to it, the mouse hovers off of the tree. This causes my script to think the tree was chopped down. This is a simple script, so a simple solution would be fine. I'm new to this, so I have little experience.
Thanks in advance!