Specific trigger

What i want is a trigger wich only triggers when a certain gameobject is going trough a collider

i got this script now:

var itemTracker; itemTracker = GameObject.FindWithTag("GameController").GetComponent(TrackItems);

function OnTriggerEnter () { itemTracker.playerLife = 0; //set playerLife to zero }

but i don't know what to change to make it work like i want..

Create a new tag for the object you want to interact with and use the below code.

function OnTriggerEnter(col : Collider){
    if(col.tag == "TheTagYouHaveJustCreated"){
        //Interaction when the trigger happens goes here