Filename depending on type of album (unique artist vs. various artits)

Tags: #<Tag:0x00007f510e55d2f8>

If am not sure, how to create a script for the following rule:
If album has only one artist file naming like
(artist) (tracknumber) tracktitle
(tracknumber) (artist) tracktitle

Seems to be easy, but I am a complete newby in this scripting.
Can anybody help me please?
Thanks in advance

$if($eq($lenmulti(%artists%),1),%artist% %tracknumber%,%tracknumber% %artist%) %title%

1 Like