I am very sorry to hear about your loss. That blows especially if it was a "friend" that stole it from you.
I've only been botting for a very limited time but in my experience the saying "Don't bot and you won't get banned" really rings true. Obviously it's hard to promote not botting when this is what this forum is dedicated to but I am not advocating for botting abstinence, I'm making the point if you can bot with as close to human like behavior as possible your outcome will be better then those suicide botting or goldfarming 24/7.
Like was said above: play time, account total history, switching up skills/quests/minigames all can make the difference between maxing an account and only getting 6 hrs out of a fishing script before the Acc is axed.
My best advice would be to diversify how you are botting: Acc builds versus goldfarming, and mimicking real playtime as close as possible with breaks and no more than 4-6hrs a day botting MAX. If you can reduce the repetitive nature of your botting, you can reduce your ban rates significantly. As with everything else it all comes down to luck my friend.