Simba Code:
Function Search: Boolean;
Var
Loc: TStringArray;
Points: TPointArray;
i,cts: Integer;
PBox: TBox;
Begin
If(Not(LoggedIn))Then Exit;
Begin
FindThing(x,y);
HumanMMouse(x,y, 0,0);
ClickMouse2(True);
Writeln('Clicked Thing');
Wait(2000 +Random(500));
PBox:= IntToBox(307,604,391,613);
HumanMMouse(PBox,PBox ,0,0);
End;
End;
Not sure how to add the Tbox coords into flights HumanMMouse function. I tried pbox.x and pbox.y
The functions finds object a then clicks it, but after that a menu appears in the chat box and all the options are the same color, but they are numbered 1.blah
2.blah
3.blah
and all have the same uptext. "Continue"
Question is how do I HumanMMouse to coords of my tbox
This should work...I think....
Simba Code:
Function SearchThing: Boolean;
Var
Loc: TStringArray;
Points: TPointArray;
i,cts: Integer;
PBox: TBox;
Begin
If(Not(LoggedIn))Then Exit;
Begin
FindThing(x,y);
HumanMMouse(x,y, 0,0);
ClickMouse2(True);
Writeln('Clicked thing');
Wait(2000 +Random(500));
PBox:= IntToBox(307,604,391,613);
MouseTBox(PBox, movemouse);
ClickMouse2(True);
End;
End;