DECLARE

DECLARE
The DECLARE Command is used to declare a name or collection of names, and store it in a variable.

Basic Form
DECLARE Range STORE --variable--

Detailed Explanation
Range is how many things the player declares.

STORE stores the declared name(s) in a variable.

Example
Mind Crush (TCG)

Action STActivation

DECLARE Range:1 STORE DeclaredNameVar


 * Condition


 * COUNT Range:All FROM Area:Hand, Side:Opponent, Name:=DeclaredNameVar IS = 0


 * Action


 * MOVE Range:1, Random:Yes FROM Area:Hand, Side:Opponent, Name:=DeclaredNameVar TO Area:Grave CAUSE Method:Discard


 * Condition


 * COUNT Range:All FROM Area:Hand, Side:Opponent, Name:=DeclaredNameVar IS > 0


 * Action


 * MOVE Range:All FROM Area:Hand, Side:Opponent, Name:=DeclaredNameVar TO Area:Grave CAUSE Method:Discard