Detect Thoughts

Make a spell card:

SELECT SPELL_GROUP.SPELL_ID, GROUPS.GROUP_ID, GROUPS.GROUPIE, GROUPS.DESCRIPTION FROM GROUPS INNER JOIN SPELL_GROUP ON GROUPS.GROUP_ID = SPELL_GROUP.GROUP_ID WHERE (((SPELL_GROUP.SPELL_ID)=3136)) ORDER BY GROUPIE;
LD(0101064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUPS INNER JOIN SPELL_GROUP ON GROUPS.GROUP_ID = SPELL_GROUP.GROUP_ID WHERE ((' at line 1
NameDetect Thoughts
SchoolDivination [Mind-Affecting]
LevelArc 2, Beguiler 2, Brd 2, EmBarachiel 2, Inquisition 3, Knowledge 2, Mental 2, MH 2, Mind 2, Shu 2, Sor/Wiz 2, Truth 1, Wuj 2
ComponentsV, S, F/DF
Casting Time1 standard action
Recharge TimeGeneral
Range60 ft.
AreaCone-shaped emanation
DurationConcentration, up to 1 min./level (D)
Saving ThrowWill negates; see text
Spell ResistanceNo
Groups