If GetUserMap(#USERID)=417
	TakeItem(#USERID,79)
	SpawnMonster(417,46,10,14)
	SendMessageToAll("The Undead Master has been summoned by "+GetUserName(#USERID)+"!", #MSG_SERVER)
Endif

If GetUserMap(#USERID)<>417
	;SendMessageToUser(#USERID,"You can only use this in the Undead Labyrinth.", #MSG_CRITICAL)	
     GiveItem(#USERID,79)
Endif

Continue = 1