[help] Foobar2000 Rename Syntax

What is wrong with this?

%artist%\$if(%album%,%album%\,)$if(%album%,$num(%tracknumber%,2) - ,)%title%

I believe that "$if(%album%,%album%\,)" is the issue, I want it to check if there is an album, and if there is then write the albumwith a \ for subdirectory...

Thanks,

-dav

#93457