Match Counting
Counts sets of matching dice rolls.
`6d6m` - Roll six d6s and count how many sets of matching values occur (defaults to counting pairs or more).
Example: Roll: `[5, 2, 5, 6, 5, 2]` → Matches found: `[5, 5, 5]` (one set) and `[2, 2]` (one set). → Final Result: `2` (two sets of matches).
`6d6m=5` - Roll six d6s and count how many dice show exactly 5.
Example: Roll: `[5, 2, 5, 6, 5, 2]` → Matches for 5: `[5, 5, 5]` → Final Result: `3` (three dice matched 5).
`6d6m>4` - Roll six d6s and count how many dice show 4, 5, or 6.
Example: Roll: `[5, 2, 5, 6, 5, 2]` → Matches for >=4: `[5, 5, 6, 5]` → Final Result: `4` (four dice matched >=4).
`6d6m3` - Roll six d6s and count sets of three-or-more matching dice (the number `3` after `m` raises the minimum from the default 2).
Example: Roll: `[5, 2, 5, 6, 5, 2]` → Only the three 5's form a set of 3 → Final Result: `1` (one qualifying set).
`6d6mt` - Roll six d6s and report the total value of dice in matching sets (defaults to pairs or more).
Example: Roll: `[5, 2, 5, 6, 5, 2]` → Matching sets: `[5, 5, 5]` and `[2, 2]` → Total value of matched dice: `5+5+5 + 2+2 = 15 + 4 = 19` → Final Result: `19`.
`6d6mt>3` - Roll six d6s and report the total value of dice that are 3 or higher and part of a matching set (default: pairs or more).
Example: Roll: `[5, 2, 5, 6, 5, 2]` → Matching sets: `[5, 5, 5]` and `[2, 2]`. Dice >=3 within sets: `[5, 5, 5]`. → Total value: `5+5+5 = 15` → Final Result: `15`.
Note: If no number is specified after `m` or `mt`, it defaults to requiring 2 or more dice (pairs) to count as a match.