Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
The point of trainers.txt is to do exactly this. You can't just throw together an NPC's team on the fly; you need to define all possible teams that NPC could have in trainers.txt. The wiki clearly states this, and there is an example in the example maps.