Expecting ; ... already one there?

I’m calling in a function from this script into another script and everythigns fine , but it says i need a ; at the end of the first line , its just a little snippet of the code

`var other : cam shake; // THIS LINE

other = gameObject.GetComponent(“cam shake”);

function Start () {

other.RayShoot ();

BulletsLeft = BulletsPerClip;

muzzleFlash.emit = false;

PHitParticle.emit = false;

}
`

You cannot have blank spaces in a type name. Your ‘cam shake’ type should be called CamShake, camShake, or cam_shake.
Otherwise the compiler expects a ; after ‘cam’.
If you use a CamelCase or underlined_naming type name, the scene editor will show the names correctly Capitalized And Separated, but in code, you must keep using the CamelCase or underlined_naming.