Experience System (6743)

i wanted to ask the people of unityAnswers if they could answer my question... i wanted to make a gui text where when it get to a certain number other numbers change it... (i know not that descriptive...) basically i wanted them to start out there experience like this... 1/1000 | 1 after you got to 1000 it would change to this 1000/2000 | 2 i hope you understand where im getting at (1 is current experience 1000 is the goal and | 1 is the level...) Please consider in helping me...

EDIT:

i just need help with this last thing…
i dont know much about javascript but someone help me with this

var yourGUITextVariable; 
var accumulatedExperiencePoints;
var levelExpRequirements;
var currentLevel;

function Update(){ 
    yourGUITextVariable.text = accumulatedExperiencePoints + "/"
                               +levelExpRequirements[currentLevel+1]; 
}

I am assuming you want something like this:

var guiTextEXP : GUIText; 
var accumulatedExperiencePoints : int = 0;
var levelExpRequirements : int = 1000;
var currentLevel : int = 1;

function Update () {
    if(accumulatedExperiencePoints >= levelExpRequirements) {
        levelExpRequirements += 1000;
        currentLevel += 1;
    }
    guiTextEXP.guiText = accumulatedExperiencePoints+"/" + levelExpRequirements + "|" + currentLevel;
}

That should work pretty good for you, if not leave me a comment and i, or someone more experienced can help you out.