rem: console.write( "Conversion time!" );  
context: 	this.convert = function()	{		console.write( "Conversion time!" );				// Switch ownership to whichever non-gaia player has the most units near us		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];		}				this.convertTimer = 0;	}
meta: 4	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4/f38149942b7906b6181f42a456b6571b8745714c/entity_functions.js/clean/binaries/data/mods/official/scripts/entity_functions.js