This script automatically roams random shops and stops when you are going to buy an item and resumes after.