What is the general consensus on how detailed a Sprite command can be? I know Sprite tasks aren't spent until the Technomancer changes the command, but does having conditional modifiers like "if" or "if/else" statements or specific details to objectives count as multiple Tasks? Can stuff like that count as a single Task until you give it other conditions, or would any change in activity count as a spent Task? Also, does a single task limit the sprite to use of a single Complex Form or Power, or can they use as many as they need to continue performing a task?


Question: How to generate 4 unique digit each time form 1 to 12
Answer: You have not specify any programming language, but still try these steps whatever language you are going to use:


Generate a random number from 1 to 12
Generate second random number and check if it is same like first or not, if not than go ahead for third number and check it with first and second.
Repeat this process for all four digits


Implement above steps whatever programming language you want to use.