great script here! just make sure you are attended to it, because you will be cleaning out your backpack often. often times the ingots will not be transferred back to the salvage bag. ive ended up with a backpack full of tongs or whatever item it is im crafting.
i have gone through and tried to fix this by putting a longer delay in between when you smelt the items and when it drags the ingots back to salvage bag. but i cant for the life of me get this script working correctly 
Too bad you're running into issues like that. Do you think it could be lag or setup related?
If not, I'd appreciate it if you could send some more feedback so I can try and fix whatever is causing those problems for you.
I'm back after a looooong break, reactivated some of my accounts, so I should be able to debug it now for any found issues...
