SCAR Code:
{*******************************************************************************
Procedure DepositAllEx(I: Integer);
by: n3ss3s
Description: Deposits your inventory, your equipment, or your familiar's
inventory. The input number is in the same order. 0-2.
*******************************************************************************}


Procedure DepositAllEx(I: Integer);

Var
   x1, y1, x2, y2: Integer;
Begin
  If BankScreen Then
    If not InRange(i, 0, 2) Then
    Begin
      srl_Warn('DepositAllEx', 'The input value must be 0-2.', warn_AllVersions);
      Exit;
    End Else
    Begin
      x1 := 385 + 38 * i;
      x2 := 406 + 38 * i;
      y1 := 298;
      y2 := 318;
      MouseBox(x1, y1, x2, y2, 1);
    End;
End;

Here's mine, it clicks well inside the buttons, humans aim for the middle and atleast if I click barely on the border of the button I feel like it misclicked, and will click again, so to keep things simple it's better to just click well inside the button...