Trying to set onValueChanged() event with an editor script

Okay, I’m sure I’m doing something wrong, I have no d*mned clue what. I’ve searched like mad, and at this point I’m happy with the knowledge i can create a custom editor window from scratch, but for the life of me, I can’t set a slider event to save my life. I’ve considered goat sacrifices, but I thought I might try this first >_<

using UnityEngine;
using System.Collections;
using UnityEditor;
using UnityEngine.UI;

public class theRack : Editor {

public Slider Overall;
GameObject girl;
float x;

// Use this for initialization
void Start () {
girl = GameObject.Find (“female_wip”);
Overall.onValueChanged.AddListener(delegate {girl.GetComponent().XIn();}); // <=THIS

//THATS TOTALLY MY PROBLEM >_<

}

}

So yea, thats where I’m at. Any help in this matter would be greatly greatly greatly appreciated.

In case the 'Why would you want to?!" Because I have ALOT of monotonous connecting to do with sliders, and if I could automate that in the editor in a permanent way, I would rejoice. And cook minstrels. Lots of fresh cooked minstrels…

Realized I put this in the wrong place and reposted it in questions. My apologies >_<