If you have rules about not attacking each other, then you can make up rules for what you do when each guild has the flag.