If GetMapType(GetUserMap(#USERID))=#MAPTYPE_FRIENDLY
	SendMessageToUser(#USERID,"You cannot summon a Wizard in a peace zone...",#MSG_SERVER)
	GiveItem(#USERID,72)
Else
	SendMessageToMap(#MAPID,GetUserName(#USERID)+" summons forth a Wizard!",#MSG_SERVER)
	SpawnMonster(GetUserMap(#USERID),254,GetUserX(#USERID),GetUserY(#USERID))
	CreateEffect(1,600,0,#DIR_UP,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,0,0)
Endif
Continue = 1