Trishula,
1 Tuner + 2+ non-Tuner monsters
When this card is Synchro Summoned: You can banish up to 1 card each from your opponent's hand, field, and GY. (The card in the hand is chosen at random.)
local s, id, o = GetID()
function s.initial_effect(c)
	--synchro summon
	aux.AddSynchroProcedure(c, nil, aux.NonTuner(nil), 2)
	c:EnableReviveLimit()
	--remove
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_REMOVE)
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O)
	e1:SetCode(EVENT_SPSUMMON_SUCCESS)
	e1:SetCondition(s.remcon)
	e1:SetTarget(s.remtg)
	e1:SetOperation(s.remop)
	c:RegisterEffect(e1)
end
function s.remcon(e, tp, eg, ep, ev, re, r, rp)
	return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end
function s.remtg(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.IsExistingMatchingCard(Card.IsAbleToRemove, tp, 0, LOCATION_HAND + LOCATION_ONFIELD + LOCATION_GRAVE, 1, nil)
	end
	Duel.SetOperationInfo(0, CATEGORY_REMOVE, nil, 1, 0, LOCATION_HAND + LOCATION_ONFIELD + LOCATION_GRAVE)
end
function s.remop(e, tp, eg, ep, ev, re, r, rp)
	local g1 = Duel.GetMatchingGroup(Card.IsAbleToRemove, tp, 0, LOCATION_ONFIELD, nil)
	local g2 = Duel.GetMatchingGroup(Card.IsAbleToRemove, tp, 0, LOCATION_GRAVE, nil)
	local g3 = Duel.GetMatchingGroup(Card.IsAbleToRemove, tp, 0, LOCATION_HAND, nil)
	local sg = Group.CreateGroup()
	if g1:GetCount() > 0 and ((g2:GetCount() == 0 and g3:GetCount() == 0) or Duel.SelectYesNo(tp, aux.Stringid(id, 1))) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_REMOVE)
		local sg1 = g1:Select(tp, 1, 1, nil)
		Duel.HintSelection(sg1)
		sg:Merge(sg1)
	end
	if g2:GetCount() > 0 and ((sg:GetCount() == 0 and g3:GetCount() == 0) or Duel.SelectYesNo(tp, aux.Stringid(id, 2))) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_REMOVE)
		local sg2 = g2:Select(tp, 1, 1, nil)
		Duel.HintSelection(sg2)
		sg:Merge(sg2)
	end
	if g3:GetCount() > 0 and (sg:GetCount() == 0 or Duel.SelectYesNo(tp, aux.Stringid(id, 3))) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_REMOVE)
		local sg3 = g3:RandomSelect(tp, 1)
		sg:Merge(sg3)
	end
	Duel.Remove(sg, POS_FACEUP, REASON_EFFECT)
end


Trishula,
1 Tuner + 2+ non-Tuner monsters
When this card is Synchro Summoned: You can banish up to 1 card each from your opponent's hand, field, and GY. (The card in the hand is chosen at random.)
-- Trishula,
local s, id, o = GetID()
function s.initial_effect(c)
	--synchro summon
	aux.AddSynchroProcedure(c, nil, aux.NonTuner(nil), 2)
	c:EnableReviveLimit()
	--remove
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_REMOVE)
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O)
	e1:SetCode(EVENT_SPSUMMON_SUCCESS)
	e1:SetCondition(s.remcon)
	e1:SetTarget(s.remtg)
	e1:SetOperation(s.remop)
	c:RegisterEffect(e1)
end
function s.remcon(e, tp, eg, ep, ev, re, r, rp)
	return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end
function s.remtg(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return Duel.IsExistingMatchingCard(Card.IsAbleToRemove, tp, 0, LOCATION_HAND + LOCATION_ONFIELD + LOCATION_GRAVE, 1, nil)
	end
	Duel.SetOperationInfo(0, CATEGORY_REMOVE, nil, 1, 0, LOCATION_HAND + LOCATION_ONFIELD + LOCATION_GRAVE)
end
function s.remop(e, tp, eg, ep, ev, re, r, rp)
	local g1 = Duel.GetMatchingGroup(Card.IsAbleToRemove, tp, 0, LOCATION_ONFIELD, nil)
	local g2 = Duel.GetMatchingGroup(Card.IsAbleToRemove, tp, 0, LOCATION_GRAVE, nil)
	local g3 = Duel.GetMatchingGroup(Card.IsAbleToRemove, tp, 0, LOCATION_HAND, nil)
	local sg = Group.CreateGroup()
	if g1:GetCount() > 0 and ((g2:GetCount() == 0 and g3:GetCount() == 0) or Duel.SelectYesNo(tp, aux.Stringid(id, 1))) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_REMOVE)
		local sg1 = g1:Select(tp, 1, 1, nil)
		Duel.HintSelection(sg1)
		sg:Merge(sg1)
	end
	if g2:GetCount() > 0 and ((sg:GetCount() == 0 and g3:GetCount() == 0) or Duel.SelectYesNo(tp, aux.Stringid(id, 2))) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_REMOVE)
		local sg2 = g2:Select(tp, 1, 1, nil)
		Duel.HintSelection(sg2)
		sg:Merge(sg2)
	end
	if g3:GetCount() > 0 and (sg:GetCount() == 0 or Duel.SelectYesNo(tp, aux.Stringid(id, 3))) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_REMOVE)
		local sg3 = g3:RandomSelect(tp, 1)
		sg:Merge(sg3)
	end
	Duel.Remove(sg, POS_FACEUP, REASON_EFFECT)
end

