cant increment variable in loops
Cant increment j variable in loops. The procedure drops a colum in inventory; when I add j(distance between 2 items in column) to the y value it doesnt go further down window as it loops it just drop at same spot. Im tired af try get bare min script just want go to sleep.
Code:
procedure dropInventoryColumn;
var
j, t: Integer;
begin
j= 0;
t=0;
repeat
MoveMouse(705, 225+j);
wait(500);
ClickMouse(705, 225+j, mouse_right);
wait(500);
MoveMouse(705, 265+j);
wait(500);
ClickMouse(705, 265+j, mouse_Left);
wait(500);
j = j+36;
inc(t);
until(t = 6);
end;
aids