Global Varible Problem

kk so i have a script where a console should pop up when the player bumps into a certain cube. here’s the cube code.

function OnTriggerEnter(other:Collider){
	if (other.tag == "Player") {
	Console.consoleType = 1;
	Debug.Log("COLLISION");
	}
	else if (other.tag == "Hack") {
	Console.consoleType = 2;
	}
}

function OnTriggerExit(){
Console.consoleType = 0;
}

	All the collisions work perfectly fine and there no explicit errors. heres the console script. 
static var consoleType = 0;
//0 = none 1 = mainframe 2 = limited mainframe
static var consoleText = "";
private var onConsole : boolean = false;

function Update() {
if (consoleType == 0) {
onConsole = false;
}
else {
 onConsole = true;
}
}

function OnGui () {

	if (onConsole) {
		Debug.Log("Gui should be here");
		GUI.Label (Rect (10, 10, 100, 30), ">" + consoleText);
		consoleText = GUI.TextField (Rect (90, 10, 200, 25), consoleText, 40);
		}
		}
	

the "Gui should be here" debug never gets called. an someone help?

function OnGui ()

is incorrect. It should look like this (note the capitols) :

function OnGUI ()

@Jay Kay WOW! Can’t believe i missed that!