Czar - great scripts, about purchased every one of them. I found a bug with this one.
The logger isn't throwing any errors.
*Edit:
The cursor stays on the 'Deposit Inventory' after it's emptied the inventory if the user leaves "0" bars to make in the option menu.
If the user does select a number (e.g. '210' bars to make) then it withdraws a full inventory or tin ore, deposits the inventory, and repeats this cycle indefinitely.
Update: Perhaps making the "bars to make" option should be required and not exceed 28 slots?. It works when selecting '14' bars to make - for a total of 28 inventory slots.