if(team) //is it a team battle?
if(!m.team in teams) //would this be an appropriate way to check if the team isn't already in teams?
teams+=m.team //add m's team to the list of teams.
world<<"teams now contains:"
for(var/a in teams)
world<<a
Problem description:
This doesn't seem to work. How could I do this differently?