Example - Redox, Dragon Ruler of Boulders

http://yugioh.wikia.com/wiki/Redox

Condition Summon

LIMIT Percard:1


 * _____________  (note: these are not really in the code, just used for aesthetic reasons)


 * Condition Ignition


 * CHECK Me.Area IS Area:Grave, Area:Hand


 * Cost Ignition


 * MOVE Range:2 FROM Area:Hand, Area:Grave, Side:Player, Type:Dragon Or Attr:Earth TO Area:RFG CAUSE Method:Banish


 * Action


 * MOVE Me TO Area:Monster, Face:Up CAUSE Method:Special Summon


 * ______________


 * Condition Trigger


 * ENTERPHASE Phase:End, Side:Opponent


 * CHECK Me.History IS History:Special Summon


 * Action


 * MOVE Me FROM Area:Monster, Face:Up TO Area:Hand CAUSE Method:Return


 * _____________


 * Condition Ignition


 * CHECK Me.Area IS Area:Hand


 * Cost Ignition


 * MOVE Me FROM Area:Hand TO Area:Grave CAUSE Method:Discard


 * MOVE Range:1 FROM Area:Hand, Attr:Earth TO Area:Grave CAUSE Method:Discard


 * TARGET Range:1 FROM Area:Grave, Side:Player STORE TargetedCard


 * Action


 * MOVE TargetedCard FROM Area:Grave, Side:Player TO Area:Monster CAUSE Method:Special Summon


 * ______________


 * Condition Trigger


 * MOVE Me TO Area:RFG CAUSE Method:Banish


 * Action Optional


 * MOVE Range:1 FROM Area:Deck, Side:Player, Type:Dragon, Attr:Earth TO Area:Hand CAUSE Method:Add