I could not find anything directly... you can look at Spawn[] which takes the arguments of the old $target command it seems.
But the target only allows for pc/npc/corpse as a "type". is there an "undocumented" gm flag? can't really test it at the moment, as it's damn near impossible to find a gm, much less one that's not in cshome
Itterating though the Spawn[] would be clumsy as hell.

