Board Thread:Questions and Answers/@comment-6748018-20130807002831/@comment-50.131.36.148-20160517035437

Chaotic Commands (level 5 priest spells) makes you immune to all of their psionic attacks and spells. They can still get lucky and eat your brain, but it certainly makes Mind Flayers a lot easier to deal with.