can't disable scripts?

So, I’ve seen a couple posts on disabling scripts, and they basically say the best way to do this is:

 GetComponent("SCRIPTNAME").enabled =
 false;

However, whenever I try this, unity freaks out with a "Enabled is not a member of ‘UnityEngine.Component’

Am I writing this incorrectly?

It’s a MonoBehaviour property. A Component may or may not be a MonoBehaviour. Try

var scr : SCRIPTNAME = GetComponent("SCRIPTNAME");
if (scr)
 scr.enabled = false;

gameObject.GetComponent("SCRIPTNAME").enabled = false;