You should add an option to not buy a perfect amount of an item, like to always buy 10 or 5 of an item even if it goes over the limit set by the user. This would allow shops with fast regenerating items to be bought without the script going back and forth buying 1 at a time.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.