Ai-ignore
From FreeSpace Wiki
Orders an AI ship to not pursue or fire at the specified object.
Comments
Ai-ignore and protect-ship are not always effective in getting the AI to ignore a ship. Therefore, creative uses of other SEXPs such as change-iff or ship-guardian are sometimes needed.
Ai-ignore did a whole bunch of things on top of giving the ship the ignore order in order to bulletproof the ship being ignored. The drawback is that it can lead to everything ignoring that ship. Hence ai-ignore-new which only does what it's supposed to.