removing a card from the game

I'm trying to code a card that removes all other instances of itself (all cards with the same name) from the game when entering the battlefield. The problem is that i don't want to exile them but remove them completely from the game, is it possible in Magic 2014 ?
In the first DotP i coded a card that did the job, but i suppose it won't work with the 2014 version :

In the first DotP i coded a card that did the job, but i suppose it won't work with the 2014 version :
- Code: Select all
<TRIGGERED_ABILITY layer="0" zone="Any">
<TRIGGER value="COMES_INTO_PLAY">
return SelfTriggered()
</TRIGGER>
<FILTER>
return SubjectType() == SUBJECT_OBJECT
and Object():GetRef() == Subject():GetRef()
and Object():GetPlayer() == Subject():GetPlayer()
and ( Subject():GetZone() == ZONE_GRAVEYARD or
Subject():GetZone() == ZONE_HAND or
Subject():GetZone() == ZONE_LIBRARY )
</FILTER>
<EFFECT>
Subject():RemoveFromGame()
</EFFECT>
</TRIGGERED_ABILITY>
