Script problems

I'm writing my first ever game. I've never done JavaScript before, so I've got some problems. The main one is with collisions. I'm trying to get it so that when the character touches a mine, they both disappear and a particle system appears. Here is what I have done, yet it does not seem to be working...

On the character...

function OnCollisionEnter(theCollision : Collision){

if(theCollision.gameObject.name == "Mine"){

Destroy(gameObject.Find("Character"));

}
}

On the mine...

function OnCollisionEnter(theCollision : Collision){

if(theCollision.gameObject.name == "Mine"){

Destroy(gameObject.Find("Character"));

}
}

Thanks!

Try this:

Character:

// Assign the particle prefab here
public var particlePrefab : GameObject;

function OnCollisionEnter(theCollision : Collision)
{
    if(theCollision.gameObject.name == "Mine")
    {
        // Spawn particle prefab
        Instantiate(particlePrefab, transform.position, Quaternion.identity);

        // Destroy the two game objects
        DestroyImmediate(theCollision.transform.gameObject);
        DestroyImmediate(gameObject);
    }
}

This is of the top of my head, so there may be some errors :)