Name:Jester's Scepter
ManaCost:3
Types:Artifact
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters, exile the top five cards of target player's library face down. You may look at those cards for as long as they remain exiled.
SVar:TrigExile:DB$ Dig | ValidTgts$ Player | DigNum$ 5 | ChangeNum$ All | DestinationZone$ Exile | ExileFaceDown$ True | WithMayLook$ True
A:AB$ Counter | Cost$ 2 T ExiledMoveToGrave<1/Card.ExiledWithSource/card exiled with CARDNAME> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | ConditionCheckSVar$ X | SpellDescription$ Counter target spell if it has the same name as that card.
SVar:X:Targeted$Valid Card.sharesNameWith MovedToGrave
AI:RemoveDeck:All
Oracle:When Jester's Scepter enters, exile the top five cards of target player's library face down. You may look at those cards for as long as they remain exiled.\n{2}, {T}, Put a card exiled with Jester's Scepter into its owner's graveyard: Counter target spell if it has the same name as that card.
