However,
If you do put silver in the pouch, it no longer counts it. So, if we are to make this in any way practical, we may want to actually add additional code that counts the silver/gold/whatever in the pouch, too. I just tested it. Look:
worth
Jill has 0 gold and 2 silver.
Jill has xxx silver in the bank.
put 1 silver sash
Jill places a single silver coin into [insert appropriate pouch object here that is a coin purse].
worth
Jill has 0 gold and 1 silver.
Jill has xxx silver in the bank. (let the records show, this is the same amount as previous.)
So, to make it properly work and not lose coin and/or be even
more confusing to newbies and everyone else, code might need to search all bags, or only coin purse type bags, to one depth. (Of course, if you put coin in a bag, and then put the bag in another bag, that would be too much.)
This might be a more complicated thing than what's on the surface.
(While I realize this is not directly related to withdraws and deposits, it's related to another part of the code that also shows balance in the bank vs. coin in hand. I could make a new topic for it, instead, if need be?)