What events did you use to make them fight eachother?
onBotSpawn > setTeam > Custom > [team whatever ]
Custom sets it to be hostile to all other teams, including other custom ones.
If you want a team to be friendly to you:
onBotSpawn > setTeam > Friendly
They will attack other teams, and not you.
And Mercenary just attacks everyone, including other mercenaries. Like a dm.