rem: console.write( "Infidelity aura: changing ownership to " + bestPlayer ); 
context: 	this.changePlayerIfNeeded = function()	{		if( this.count[this.source.player.id] == 0 )		{			// switch ownership to whichever non-gaia player has the most units near us, if any			bestPlayer = 0;			bestCount = 0;			for( i = 1; i <= 8; i++ )			{				if( this.count[i] > bestCount )				{					bestCount = this.count[i];					bestPlayer = i;				}			}			if( bestCount > 0 )			{				console.write( "Infidelity aura: changing ownership to " + bestPlayer );				this.source.player = players[bestPlayer];			}		}	}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/c6c006d4fe66743bdc399a80e96340a90ca4203c/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js