Try rescripting the bot to wrap your mouseclick function, and hold down ALT while sending any mouseclicks to a UI function (like "START" or "Go to Town" on the popup screen/menus). It is a bug in the...