How would I make an NPC ignore a certain Class?

I made a command to spawn a Manhack and now I’m wondering how I can go about making it ignore a player if they have a specific ClassID/Team. I looked around at ai_ignoreplayers to see how that functions and if it would help me with my issue, but I couldn’t find much of anything.

If a Manhack is from HL2 or something I am pretty sure it is hard coded and you can not make edits to them.

Old thread with the same request.
http://forum.facepunch.com/showthread.php?t=839233

Shit… Didn’t see that thread even when I did a search. Thanks, I’ll have a look at it.