On any script i've tested, my bot just stands at the magic shop and scrolls down to the "mana potions" and just stands there. Then after a while the alarm goes off and i need to buy manually, when im done buying the bot resumes itselfs and starts doing what it was meant to do after it buys mana pots.