indeed I haven't implemented a retry logic to buy an item at a higher price, will implement that in the next update
having 3 goblin mails in inventory or bank should prevent the script from buying more, let me double check that once thanks for the report