Will add combat detection, though I'd recommend just disabling the left click attack option for NPCs in your OSRS settings as this will make it unnecessary for the bot to waste time running from combat, the problem with combat is probably why the accounts were banned.