Chronicle
You can activate 1 of these effects based on the Attributes in your GY;
● LIGHT: Send 1 "Blue-Eyes White Dragon" or 1 card that mentions it from your Deck to the GY, except "Chronicle Sorceress".
● DARK: Send 1 "Dark Magician" or 1 card that mentions it from your Deck to the GY, except "Chronicle Sorceress". 
You can only use this effect of "Chronicle Sorceress" once per turn.
local CARD_ID_0 = 46986414 --Dark Magician
local CARD_ID_1 = 89631139 --Blue-Eyes White Dragon

local CARD_ID_0 = 46986414 --Dark Magician
local CARD_ID_1 = 89631139 --Blue-Eyes White Dragon
local s, id, o = GetID()
function s.initial_effect(c)
	aux.AddCodeList(c, CARD_ID_1, CARD_ID_0)
	--to graveyard
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_TOGRAVE)
	e1:SetType(EFFECT_TYPE_IGNITION)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCountLimit(1, id)
	e1:SetTarget(s.target)
	e1:SetOperation(s.operation)
	c:RegisterEffect(e1)
end
function s.filter(c, code)
	return not c:IsCode(id) and aux.IsCodeOrListed(c, code) and c:IsAbleToGrave()
end
function s.chkfunc(g, attr, tp, code)
	return g:IsExists(Card.IsAttribute, 1, nil, attr) and Duel.IsExistingMatchingCard(s.filter, tp, LOCATION_DECK, 0, 1, nil, code)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	local g = Duel.GetMatchingGroup(Card.IsType, tp, LOCATION_GRAVE, 0, nil, TYPE_MONSTER)
	local b1 = s.chkfunc(g, ATTRIBUTE_LIGHT, tp, CARD_ID_1)
	local b2 = s.chkfunc(g, ATTRIBUTE_DARK, tp, CARD_ID_0)
	if chk == 0 then
		return b1 or b2
	end
	local off = 1
	local ops = {}
	local opval = {}
	if b1 then
		ops[off] = aux.Stringid(id, 1)
		opval[off - 1] = 1
		off = off + 1
	end
	if b2 then
		ops[off] = aux.Stringid(id, 2)
		opval[off - 1] = 2
		off = off + 1
	end
	local op = Duel.SelectOption(tp, table.unpack(ops))
	e:SetLabel(opval[op])
	Duel.SetOperationInfo(0, CATEGORY_TOGRAVE, nil, 1, tp, LOCATION_DECK)
end
function s.operation(e, tp, eg, ep, ev, re, r, rp)
	local opt = e:GetLabel()
	local code = 89631139
	if opt == 2 then
		code = 46986414
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_TOGRAVE)
	local g = Duel.SelectMatchingCard(tp, s.filter, tp, LOCATION_DECK, 0, 1, 1, nil, code)
	if g:GetCount() > 0 then
		Duel.SendtoGrave(g, REASON_EFFECT)
	end
end


Chronicle
You can activate 1 of these effects based on the Attributes in your GY;
● LIGHT: Send 1 "Blue-Eyes White Dragon" or 1 card that mentions it from your Deck to the GY, except "Chronicle Sorceress".
● DARK: Send 1 "Dark Magician" or 1 card that mentions it from your Deck to the GY, except "Chronicle Sorceress". 
You can only use this effect of "Chronicle Sorceress" once per turn.
-- Chronicle
local CARD_ID_0 = 46986414 --Dark Magician
local CARD_ID_1 = 89631139 --Blue-Eyes White Dragon
local s, id, o = GetID()
function s.initial_effect(c)
	aux.AddCodeList(c, CARD_ID_1, CARD_ID_0)
	--to graveyard
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_TOGRAVE)
	e1:SetType(EFFECT_TYPE_IGNITION)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCountLimit(1, id)
	e1:SetTarget(s.target)
	e1:SetOperation(s.operation)
	c:RegisterEffect(e1)
end
function s.filter(c, code)
	return not c:IsCode(id) and aux.IsCodeOrListed(c, code) and c:IsAbleToGrave()
end
function s.chkfunc(g, attr, tp, code)
	return g:IsExists(Card.IsAttribute, 1, nil, attr) and Duel.IsExistingMatchingCard(s.filter, tp, LOCATION_DECK, 0, 1, nil, code)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	local g = Duel.GetMatchingGroup(Card.IsType, tp, LOCATION_GRAVE, 0, nil, TYPE_MONSTER)
	local b1 = s.chkfunc(g, ATTRIBUTE_LIGHT, tp, CARD_ID_1)
	local b2 = s.chkfunc(g, ATTRIBUTE_DARK, tp, CARD_ID_0)
	if chk == 0 then
		return b1 or b2
	end
	local off = 1
	local ops = {}
	local opval = {}
	if b1 then
		ops[off] = aux.Stringid(id, 1)
		opval[off - 1] = 1
		off = off + 1
	end
	if b2 then
		ops[off] = aux.Stringid(id, 2)
		opval[off - 1] = 2
		off = off + 1
	end
	local op = Duel.SelectOption(tp, table.unpack(ops))
	e:SetLabel(opval[op])
	Duel.SetOperationInfo(0, CATEGORY_TOGRAVE, nil, 1, tp, LOCATION_DECK)
end
function s.operation(e, tp, eg, ep, ev, re, r, rp)
	local opt = e:GetLabel()
	local code = 89631139
	if opt == 2 then
		code = 46986414
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_TOGRAVE)
	local g = Duel.SelectMatchingCard(tp, s.filter, tp, LOCATION_DECK, 0, 1, 1, nil, code)
	if g:GetCount() > 0 then
		Duel.SendtoGrave(g, REASON_EFFECT)
	end
end

