Idk about slash commands, but you can filter names to show in your ui

I toggled off the names of all players/pets/minions that are not in party with me, so my ui now just show the names of NPCs, objects and party members only
it was a mess before, especialy in FATE farmings

PS: sry for my bad english ;-)