krisg05
2012-05-07 23:55:51
when bot gos to withdraw item fails to withdraw and keep click to withdraw then clicking to withdraw again never withdrawing x
2012-05-07 23:55:51
2012-05-07 23:57:55
if (Not WaitOptionMulti......) then
/////////////
writeln(GetChooseOptions); //This line comes up blank since the mouse made the menu disappear.
2012-05-08 11:20:18
(*
SlideMouse
~~~~~
.. code-block:: pascal
procedure SlideMouse(cx, cy, rx, ry: Integer);
Moves the mouse 'cx' across the x axis and 'cy' along the y axis
with a randomness of rx and ry
.. note::
by abu_jwka
*)
procedure SlideMouse(cx, cy, rx, ry: Integer);
var
x, y: Integer;
begin
GetMousePos(x, y);
MMouse(x + cx, y + cy, rx, ry);
GetMousePos(x, y);
end;procedure WithdrawMe(Uptext: String);
var
x, y: Integer;
begin
if WaitUpText(Uptext, 3000) then
begin
Mouse(x, y, 0, 0, False);
Wait(20 + Random(30));
SlideMouse(0, 45, 5, 0); // moves the mouse to your option
Mouse(x, y, 0, 0, True);
end;
end;