I store "listened to" information in the track field %track%=zzzz or qqqq means I have listened to the podcast or it's in the queue. (this is due to a limitation of Copernic which I use to index my collection)
I want to identify all finished albums, i.e., albums where the podcasts all have zzzz or qqqq.
I set up the following export script:
$if($eql(%_max_counter%,$get(counttracks)),'#Album Finished: '$if2(%album%,-- empty --)
Investigation shows that the $if condition is being ignored ... that my user-defined field counttracks is being incremented to the total number of albums regardless whether %track% is present or not.