how to disable specific scripts in an array of scripts

hello, i would like to know how to disable specific scripts in an array of scripts, at the moment it disables all

private MonoBehaviour [] scripts;
// Use this for initialization
void Start ()
{

	scripts =GetComponents<MonoBehaviour>() ;
	if (Application.loadedLevel == 0) {
		foreach (MonoBehaviour s in scripts) {
			if (s.name!="EnableScripts"){
				s.enabled=false;
			}
		
		}
		
	}
}

You need to check the type of the script, like this:

if(typeof(s)!=EnableScripts)
{
    s.enabled = false;
}

This would disable a script if it is of type EnableScripts. Don’t forget a script is a class, and in UnityScript, a script’s name is it’s type! No need for quotes…

Edit: Also, print(s.name); would give you the name of the gameObject the script is attached to, not the script’s!

ok i got it working, thanks to the hint from gregzo

if(s!=GetComponent <EnableScripts>()&& s!=GetComponent <racePoints>()){
				s.enabled=false;
			}

scripts = GetComponents(MonoBehaviour);

    for(s in scripts) 
    {
       if (typeof(s)!=EnableScripts)
       {
            s.enabled=false;
       }
    }

This works fine (in UnityScript).