Ok, so, I can't say I completely created this one, a while ago while giving me advice on my smelter fakawi posted what he used for his withdrawing method. I tried back then and couldn't get it to work but I just had another look at it.

I altered what Fakawi posted to use tolerances so it pretty much always finds the bitmap even if it's not a very good one, changed the co-ords so the script doesn't have to search as much. I then added some orginal code into it so that it scrolls between the first and second part of the bank a couple of times and if it still can't find the bitmap stops.

I've used this with about 5 different bitmaps so I'm pretty confident if you get at least a decent bitmap of the item it will work.

So basically, creator is WT-Fakawi, I just added some code to extend it's capabilities.

PHP Code:
var
 
TextStarWithdrawXTimesChecked integer;

procedure Bitmaps;
 
begin
   TextStar 
:= BitmapFromString(86'z78DA3330C0062C90486' +
       
'2007EF516249294B887723351C501D8B236B1');
   
WithdrawX := BitmapFromString(610'z78DA737343000324E086' +
       
'03E052439E2E5C6A70994F890BF1BB96BA2663AA01005AD75719');
 
end;

procedure WithdrawBitmap(BitmapAmount Integer);
 
begin
   
if(BankScreen)and(TimesChecked 4)then
    begin
      TimesChecked 
:= TimesChecked+1;
      if(
FindBitMapToleranceIn(BitmapXY5549832310))then
       begin
         Wait
(200+Random(300));
         
Mouse(XY88False);
         
repeat
          Wait
(200);
         
until(FindBitmapToleranceIn(WithdrawXXY554983235));
         if(
FindBitMapToleranceIn(WithdrawXXY554983235))then
          begin
            Wait
(400);
            
Mouse(XY00True);
            
repeat
             Wait
(400);
            
until(FindBitMapToleranceIn(TextStarXY2474022644175));
            
Wait(400);
            
TypeSend(IntToStr(Amount));
            
Wait(400);
          
end;
       
end else
         if(
GetColor(47475) = 5531254)then
          begin
            MMouse
(47427800);
            
Wait(200+Random(100));
            
Holdmouse(474278True);
            
repeat
             Wait
(10);
            
until(GetColor(47399) = 1777699);
            
ReleaseMouse(474278True);
            
Wait(300+Random(200));
            
WithdrawBitmap(BitmapAmount);
          
end else
           if(
GetColor(47275) = 1777699)then
            begin
              FixBank
;
              
Wait(300+Random(200));
              
WithdrawBitmap(BitmapAmount);
            
end;
    
end;
 
end