1. create info_player_deathmatch and give it key "teamnumber" and value "team1" or "team2" depending on which teams spawns you're working on. Notice that you must specify the teams in the worldspawn
2. create flag entity and give key "teamnumber" and value "team1" or "team2" like with the spawns.
3. as much as you want (but still use some thinking!). Add these values to flag entity to change the points: key "count" and value defines the points, "1" gives 5 points, "0.2" gives 1 point.
I think i got them right, hope that helps