Add 'ownedby NPC' filter to catch all NPC ships, not just those owned by space pirates.
This is a suggestion based off a Torch bug: https://github.com/TorchAPI/Torch/issues/358
It would be nice to issue a cleanup command for all NPC ships, not just space pirates. Currently, pirates shortcut only gets NPCs in the SPRT faction, and for modded games with multiple NPC factions that is not enough to keep the server clean of old (and partially destroyed) NPC grids.
A 'ownedby NPC' would be a nice filter option to have to grab all NPCs, regardless of their faction.
This already there I think. Check hasownertype condition.
hasownertype npc for example. The ownedby might also been modified meanwhile to support this too, but it is mostly used to identify with id or name.