Dont inflate (this means dont grind 24000201 stacks of w/e item and sell it for 30% of the default value)
Dont bot in areas where people are grinding and questing, or pvping.
Dont be stupid, monitor your bot(s).
Dont stick out/be different. Be in a solo guild etc
Tips that helped me for the past 3 years, and i have been banned 1 time using a pirox bg bot.