Another Question if anyone has time,
Simba Code:
procedure WithdrawDhide;
var
x,y,x2,y2,x3,y3:integer;
begin
SetAngle(SRL_ANGLE_HIGH);
OpenBankChestEdge(SRL_BANK_SW);
repeat
wait(100);
until(PinScreen or BankScreen);
if PinScreen then
begin
InPin(Players[CurrentPlayer].Pin);
wait(RandomRange(900,1100));
end;
if BankScreen then
begin
wait(RandomRange(200,400));
if FindDTM(dhidebodyDTM,x,y,MIX1,MIY1,MIX2,MIY2) then
begin
MouseItem(RandomRange(1,3),mouse_Right);
wait(RandomRange(400,600));
ChooseOption('27');
wait(RandomRange(200,600));
end;
if FindDTM(dhideDTM,x,y,MIX1,MIY1,MIX2,MIY2)then
begin
CloseBank;
end;
if(InvCount=1)then
begin
Mouse(RandomRange(440,460), RandomRange(230,250),0,0,False);
wait(RandomRange(400,600));
ChooseOption('27');
wait(RandomRange(400,600));
CloseBank;
end;
if(InvCount>10)then
begin
CloseBank;
end;
end;
end;
This works, but it is very very slow, I think it is slow because of the if(InvCount=1) then line seems like it takes forever, the rest of them seem to run quickly and smoothly. Is there anyway to speed up, or another function that will work quicker?