Targeting the GameObject I collide with?

Hey guys,
Im trying to create a combat system but the game must have no mouse. So I need the game to target the enemy when the player collides with its sphere collider. (Trigger).

function OnTriggerEnter()

{

	collider.isTrigger = true;
	targetWithinRange = true;

}

function OnTriggerExit ()
{

	collider.isTrigger = true;
	targetWithinRange = false;

}

What can I do to allow this function? + My enemy is a clone called from a handler threat called EnviromentHandler.

OnTriggerEnter requires a collider paramater to be used with the physics engine-

function OnTriggerEnter(other : Collider)
{
    // now you have access to the object which entered the trigger-
    Debug.Log(other.gameObject.name);
}

The same with OnTriggerExit.