Hello OSBot community! I have been having a lot of success lately with botting a main account that I intend on playing and hope that methods I use to avoid bans can help you guys. I have had several accounts last 3-6 months using some of these methods and it was only through stupidity on my part that they ever got banned. Most of these tips can be applied to any type of botting account, but they are primarily aimed towards botting on an account that you are attempting to play long-term.
Note: These are my opinions that I have gathered from 2+ years of botting OSRS. They have given me a lot of success, but ultimately botting on Runescape always come with the risk of being banned no matter how smart you are or what secret anti-ban methods you use.
Firstly, although this a no-brainer, don't get greedy. I'm sure you have heard it before, but often times people will leave a bot on overnight a few times or accidentally leave a bot running and get a 12+ hour proggy. Suddenly you feel like your invincible and that Jagex can't touch you. However, if this becomes a regular occurrence on your account, you WILL be banned. It is only a matter of time. Play safe and be disciplined in your botting hours. Don't let greed get the best of you and maintain discipline to not bot over 6 hours a day, sometimes 8 hours a day. Do not bot the same skill for over 3-4 hours.
Secondly, do quests. Questing is a way that I have managed to see many account last 3-6 months on that I bot regularly. Questing is an activity within Runescape that perhaps takes more interactions with the Runescape client than any other activity. On an account I am currently botting on that is well over a month old, I have 130+ quest points. I quest every day in between doing other activites and botting. Doing quests on a very regular basis, 1-2 quests done every day is what I reccommend, until getting a quest cape obviously. Doing this sets you apart from other bots and proves you are not a gold farmer. This will lower the chance of Jagex investigating your account for bot activity.
Thirdly, interact with the Runescape world. Don't simply sit and skill or train combat endlessly. Get out and interact with the world. Do Achievement Diaries, go PKing, play mini-games, go to the duel arena, explore Runescape, interact with other players, enjoy the game of Runescape. If you are botting on an account you play on, what's the point if your not actually going to enjoy the game aside from the time you are botting. This also legitimizes your account further. By actually interacting with players and the world you appear as though you are just another player within Runescape looking to enjoy the game.
Fourthly, level the Farming skill. For some Farming may seem like a tedious waste of time, but farming is a skill that is very rarely botted and requires a lot of interaction with the game and world. I do Farming runs almost every day and it is yet another way to legitimize your account as a human player and set yourself apart from 90% of botters on Runescape.
Fifthly, set XP caps for yourself and long-term goals you want to achieve on the account. For most botters they get greedy and want to see progress as fast as possible. This is a downfall for many. Most legitimate players don't spend an entire week skilling one or two skills. They do a wide range of activities and and various skills. If an account is level 30 combat with 80 hunter and 90 fishing, and 10 quest points. Chances are that account won't last longer than a month, a month being lucky. I have set guidelines for myself on accounts that I intend to play. I first look up what quests give experience for a skill that I want to invest time into and level. I then begin leveling that skill by questing. After questing the skill up I will get a decent chunk of xp (usually to around level 60). Take a two or three day break from the skill and then begin leveling the skill once, maybe twice a day until around level 80-85. At that point you should spread a level gain over two or three days and continue at that rate until 99. This should take about a month to achieve a 99, but it will be much more satisfying having a 99 when you don't get banned a week later. And gain XP in the skill by hand in between. I will usually take a day off of botting and level it by hand to further reduce the risk of being banned. And always maintain the no botting a skill for more than 3-4 hours a day, sometime 5 or so if the skill is 85+. The point of all of this is that you don't want your XP gains to be through the ceiling in super short amounts of time. That will most definitely raise a red flag for Jagex and it is likely they will look into your account. Most human players don't gain 2 mill xp in 3 days, either should you.
Lastly, never bot more than one account on the same IP address. For the longest time I always botted two accounts per IP. Usually a main account I wanted to actually play and then either a gold farmer or a pure or something. I would always get banned on one account and then shortly after the second account would get hit. Botting one account on an IP is already a risk no matter how safe or smart you play it, but botting two accounts is far more riskier. If Jagex receives a report for one of your accounts and looks into your account and sees another account attached to the same IP that has very similar play times and hours logged. They will most definitely catch on ban both accounts. The way I see it, running two accounts under the same IP essentially doubles the chances of being banned. If one account is flagged you will most likely have both accounts banned.
To wrap things up I just want to say that you should play Runescape legitimately at least 50% of the time that your account is logged if not more. If you can't bother to play the game more than 50%, you should maybe be asking yourself why you play it in the first place. This excludes bot farms and other accounts that's sole purpose is money making. Anyways I hope these tips can help someone out and encourage people to play legit more and enjoy the game rather than just botting 24/7. Good luck fellow botters.