Could be multiple things.
First, you should make sure your NPC has access to quest globals (see npc_types).
Second, you should read at the bottom of the quest tutorial to see which NPC/PC/Zone combo you are using:
http://www.eqemulator.net/wiki/wikka...=QuestTutorial
Third, you should really use the $qglobal{} method to read globals. Something like:
Code:
if (defined($qglobals{MM}) && $qglobals{MM} == 1) {