Deal cards
deal-cardsDistribute an equal number of cards from one stack to multiple hands or piles, with a safety check that halts the deal if insufficient cards remain.
Instructions
Deal the same number of cards from one stack to each of several hands or piles. Refused before anything moves when too few cards are left. Needs the write switch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The stacks to deal to: ids or exact names | |
| how | No | Which cards: top (default), bottom or random | |
| from | Yes | Deal from: id or exact name of the card stack | |
| number | No | Cards per stack, default 1 | |
| chatNotification | No | Post Foundry's chat message about the move (default false) |