====== Conditional Card Actions ====== This plugin allows you to skip or jump between Card Actions using If statements and Labels. {{https://cdn.discordapp.com/attachments/235557488794009600/1090858639910244454/CondLoopExample2.gif?640}} ===== Card Actions ===== | **if [expression]** | This will evaluate the expression, and if it's true, it will execute the next Card Action. If false, it will skip that action. | | **label [labelName]** | This will define a label, which is important for the jump to Action. | | **jump to [labelName]** | This will search for the label with the same name, and move to that label. If the label is after this Card Action, it will skip all Card Actions between the two. If the label is before this Card Action, it will execute the Card Actions between the two a second time. | Example of how these Card Actions can be used: label start if (user.handSize >= 10) jump to end draw 1 wait 5 jump to start label end These card actions will draw 1 card, wait 5 frames, and then repeat until the player has 10 cards in their hand. ===== Version History ===== **v1.0.0** - Finished plugin