Turn off a script?

Hello. I know you can enable/disable a game object through something like this, how can I do that with a script (in another object)? Thanks

var CS : GameObject;

function Update (){ if (Genre==1) {CS.SetActiveRecursively(true);}; }

you should use CS.GetComponent("ScriptName").enabled = false;

CS.GetComponent(“ScriptName”).enabled = false;

Errors:

BCE0019: ‘enabled’ is not a member of ‘UnityEngine.Component’.