name: Network
card_text: When your opponent Special Summons a monster(s) from the Main Deck or GY: Banish it face-down.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetCategory(CATEGORY_REMOVE)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_SPSUMMON_SUCCESS)
  	e1:SetTarget(s.target)
  	e1:SetOperation(s.activate)
  	c:RegisterEffect(e1)
  end
  function s.filter(c, tp)
  	return c:IsSummonPlayer(1 - tp) and c:IsSummonLocation(LOCATION_DECK + LOCATION_GRAVE) and c:IsAbleToRemove(tp, POS_FACEDOWN) and c:IsLocation(LOCATION_MZONE)
  end
  function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
  	local g = eg:Filter(s.filter, nil, tp)
  	local ct = g:GetCount()
  	if chk == 0 then
  		return ct > 0
  	end
  	Duel.SetTargetCard(eg)
  	Duel.SetOperationInfo(0, CATEGORY_REMOVE, g, ct, 0, 0)
  end
  function s.activate(e, tp, eg, ep, ev, re, r, rp)
  	local g = eg:Filter(s.filter, nil, tp):Filter(Card.IsRelateToEffect, nil, e)
  	if g:GetCount() > 0 then
  		Duel.Remove(g, POS_FACEDOWN, REASON_EFFECT)
  	end
  end
  
  
source_text: Network
  When your opponent Special Summons a monster(s) from the Main Deck or GY: Banish it face-down.
target_text: -- Network
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetCategory(CATEGORY_REMOVE)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_SPSUMMON_SUCCESS)
  	e1:SetTarget(s.target)
  	e1:SetOperation(s.activate)
  	c:RegisterEffect(e1)
  end
  function s.filter(c, tp)
  	return c:IsSummonPlayer(1 - tp) and c:IsSummonLocation(LOCATION_DECK + LOCATION_GRAVE) and c:IsAbleToRemove(tp, POS_FACEDOWN) and c:IsLocation(LOCATION_MZONE)
  end
  function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
  	local g = eg:Filter(s.filter, nil, tp)
  	local ct = g:GetCount()
  	if chk == 0 then
  		return ct > 0
  	end
  	Duel.SetTargetCard(eg)
  	Duel.SetOperationInfo(0, CATEGORY_REMOVE, g, ct, 0, 0)
  end
  function s.activate(e, tp, eg, ep, ev, re, r, rp)
  	local g = eg:Filter(s.filter, nil, tp):Filter(Card.IsRelateToEffect, nil, e)
  	if g:GetCount() > 0 then
  		Duel.Remove(g, POS_FACEDOWN, REASON_EFFECT)
  	end
  end
  
  