Simba Code:
{*******************************************************************************
function GetBankIndexItemAmount(const Index: Integer): Integer;
By: Daniel (Mayazcherquoi)
Description: Returns the amount of an item in the bank at bank index, Index.
*******************************************************************************}
function GetBankIndexItemAmount(const Index: Integer): Integer;
begin
Result := getAmountBox(BankIndexToMSBox(Index));
end;
{*******************************************************************************
function GetBankItemAmount(const x, y: Integer): Integer;
By: Daniel (Mayazcherquoi)
Description: Returns the amount of an item in the bank at bank screen
coordinates (Row, Col).
*******************************************************************************}
function GetBankItemAmount(const Row, Col: Integer): Integer;
begin
Result := GetBankIndexItemAmount(BankPointToBankIndex(Point(Row, Col)));
end;
{*******************************************************************************
function GetMSBankItemAmount(const x, y: Integer): Integer;
By: Daniel (Mayazcherquoi)
Description: Returns the amount of an item in the bank at main screen
coordinates x, y.
*******************************************************************************}
function GetMSBankItemAmount(const x, y: Integer): Integer;
begin
Result := GetBankIndexItemAmount(BankPointToBankIndex(MSTPointToBankPoint(Point(x, y))));
end;
Self-explanatory, DemiseScythe needed this and there was one for the inventory (getAmount), so I decided to make this. Can be very useful.
Add to core/Bank.scar.
EDIT: It works, btw 
Regards,
Daniel.