having issues with first person controller (ActivateTrigger.cs)

i just got unity and i am having issues with some of the scripts that came with it for the first person controller(ActivateTrigger.cs)

   case Mode.Activate:
       targetGameObject.active(); true;
       break;
   case Mode.Enable:
       if (targetBehaviour != null)
	  targetBehaviour.enabled = true;
       break;	
   case Mode.Animate:
          targetGameObject.animation.Play ();
       break;	
   case Mode.Deactivate:
          target GameObject;SetActive() = false;
       break;

-the first issue is with targetGameObject.active(); true; it says its a non-invocable
member ‘Unity Engine.GameObject.active’ cannot beused like a method

-second is with target GameObject;SetActive() = false; says ‘ActivateTrigger.target’ is a ‘field’ but is used like a ‘type’

The first should be:

targetGameObject.SetActive(true);

the second:

targetGameObject.SetActive(false);

notice the space between ‘target’ and ‘GameObject’;

BTW: I believe SetActive() was introduced with 4.0.