I do enough damage to keep the bar full but sometimes there aren't enough enemies in the center to maintain activity, or they die too quickly. The bot will wander to the gates sometimes to hit enemies coming in but that frequently doesn't happen when people zerg the portals and keep the gates closed.
What sometimes happens when I set it to "attack portals" is the bot will rush to the first portal, smack the devil out of it, rush to the second portal and get stuck on a Brawler until the activity meter falls to 0. This is probably due to other players balling the Brawlers in front of the portal, which I know isn't a factor the bot can account for, but maybe have a failsafe so the bot will attack an enemy nearby, or the Brawler blocking it, if it can't target the portal? And then if it's set to "attack only monsters," it might target a minion just behind a Brawler and get stuck again. It's not every time, but it only needs to happen once to completely negate a run of Pest Control.
Basically I just want the bot to always be attacking something, even if it isn't the portal. Is there a way to make it switch targets without disabling it and re-enabling it with new parameters, or manually forcing myself to attack something? In three hours of running the bot yesterday, I only had problems when attacking the portal; defending the priest works flawlessly 9/10 times, and on the 10th it might be a coin flip due to other players.