Random Scene Selection

Hey guys,I am not really to new to JavaScript.

I am making a game like Vanish or other maze games,but I need a script that when you click on the 3d text, it will randomly select 1 of 85 scenes.

Hopefully you can help me.

deltamish’s answer is ok but this one is easier and you don’t need to insert all level names in the inspector:

function OnMouseDown()
{
  Application.LoadLevel(Random.Range(0, Application.levelCount-1));
}

function randomScene() {
Application.LoadLevel (Random.Range(0,84));
}