protected static ChattyGroup matchChatGroup(MOB meM, String myName, ChattyGroup[] chatGroups)
	{
		myName=myName.toUpperCase();
		if(myName.equals("DEFAULT"))
			return chatGroups[0];
		for(final ChattyGroup CG : chatGroups)
			if(CG.entries!=null)
			{
				for(final String name : CG.groupNames)
					if(name.equals(myName))
						return CG;
				if(meM != null)
					for(final MaskingLibrary.CompiledZapperMask mask : CG.groupMasks)
						if(CMLib.masking().maskCheck(mask, meM, true))
							return CG;
			}
		return null;
	}