;'Green Wraith' monster NPC script

If GetUserWisdom(#USERID) >= 20
	If GetUserSkill(#USERID, 25) > 0
		SendMessageToUser(#USERID,"The Green Wraith says, 'Ah! A fellow traveler of the mind, seeker of knowledge!'",#MSG_SAY)
	Else
		SendMessageToUser(#USERID,"The Green Wraith says, 'Ah! A fellow traveler of the mind, seeker of knowledge! Let me impart some of MY wisdom to you.'",#MSG_SAY)
		SendMessageToUser(#USERID,"The Green Wraith taught you the Aura skill!",#MSG_CRITICAL)
		SetUserSkill(#USERID, 25, 1)
	EndIf
ElseIf GetUserWisdom(#USERID) >= 10
	SendMessageToUser(#USERID,"The Green Wraith says, 'You seem wise, young adventurer. Wiser than most who come through here, anyway.'",#MSG_SAY)
Else
	SendMessageToUser(#USERID,"The Green Wraith says, 'Another creature arisen from the grave?'",#MSG_SAY)
	SendMessageToUser(#USERID,"The Green Wraith sighs",#MSG_EMOTE)
EndIf

Continue = 1