I have not seen the following been done before (maybe it has?) so i thought i would share. This is for use in columns_ui and is supposed to indicate albums that are collections (like greatest hits, best of, etc). See my screenshot below for an idea how to use it. I have marked all collections with a slightly different colour. Any ideas for improvement or optimization?
CODE
$if(%_is_various%,COL,
$if($if3(
$strstr($caps(%ALBUM%),Great),
$strstr($caps(%ALBUM%),Best),
$strstr($caps(%ALBUM%),Singles),
$strstr($caps(%ALBUM%),Collect),
$strstr($caps(%ALBUM%),Hits),
$strstr($caps(%ALBUM%),Essential),
$strstr($caps(%ALBUM%),Classic)),COL,NOTCOL))