Insert a semicolon error

So I hate to post another one of these "missing ;" to this site, but i'm going a little mad staring at my code at the moment. I'd imagine that my Syntax is of on, but i can't find it.

var star : ParticleEmitter;

function OnCollisionEnter(theCollision : Collision)
{
   if(theCollision.gameObject.name == "bullet(Clone)")
   {
      Instantiate(star, transform.position, transform.rotation);
      Destroy(gameObject);
   }
}

function Start()
{
   var i : int = 0;

   for(i = 0;i==2;i++)
   {
      i=2 Destroy(GameObject);
   }
}

The error is being thrown on the "i=2" line. Thanks in Advance And for some reason the code snippet tool isn't spacing my code right, so i added a blank line myself, sorry if it makes it harder to see, but it looks better than bunched into 3 lines

D

It might be something wrong with your for loop. It should go something like this

for(i = 0; i <= 2; i++)
{
    if(i == 2)
    {
        Destroy(GameObject);
    }
}