%chance = getRandom(1, 22);
switch(%chance)
{
case 1:
$SM_CurrentSong = "After School Special";
case 2:
$SM_CurrentSong = "Acland Suite";
case 3:
$SM_CurrentSong = "Ambler";
case 4:
$SM_CurrentSong = "Animal Rights";
case 5:
$SM_CurrentSong = "Bangarang";
case 6:
$SM_CurrentSong = "Bass 1";
case 7:
$SM_CurrentSong = "Drums";
case 8:
$SM_CurrentSong = "Factory";
case 9:
$SM_CurrentSong = "Harold";
case 10:
$SM_CurrentSong = "Icy";
case 11:
$SM_CurrentSong = "Jaunty Gumption";
case 12:
$SM_CurrentSong = "Jungle";
case 13:
$SM_CurrentSong = "Lights";
case 14:
$SM_CurrentSong = "Mellowtron";
case 15:
$SM_CurrentSong = "Move Forward";
case 16:
$SM_CurrentSong = "Peaceful";
case 17:
$SM_CurrentSong = "Piano Bass";
case 18:
$SM_CurrentSong = "Pinball Spring";
case 19:
$SM_CurrentSong = "Radioactive";
case 20:
$SM_CurrentSong = "Rock";
case 21:
$SM_CurrentSong = "Silly Fun";
case 22:
$SM_CurrentSong = "What No Universe";
default:
$SM_CurrentSong = "After School Special";
$SM_CurrentSongAuthor = "Eric Hartman";
}
Why did you hard code this