function CommandRegistration()
{
	RegisterCommand( "sfx", 2, true );
	RegisterCommand( "music", 2, true );
	RegisterCommand( "midi", 2, true ); // Alias for music command
}

function command_SFX( socket, cmdString )
{
	if( cmdString )
	{
		var value = parseInt( cmdString );
		socket.SoundEffect( value, false );
	}
}

function command_MUSIC( socket, cmdString )
{
	if( cmdString )
	{
		var value = parseInt( cmdString );
		socket.Music( value );
	}
}

function command_MIDI( socket, cmdString )
{
	command_MUSIC( socket, cmdString )
}