If you mean something like that:

..macro name="author"
....names variable="author"
......name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"
......label form="short" prefix=" (" suffix=".)" text-case="lowercase" strip-periods="true"
......substitute
........names variable="editor"
........names variable="translator"
........text term="anonymous"
....../substitute
..../names
../macro

I had tried that, but it didn't work. Is there a mistake?