When a viewer sends a gift, WaveSync runs one gift rule, not every rule that could apply. It picks a rule for that exact gift if you have one. If not, it picks the highest value level the gift reaches. If neither applies, it uses your Any gift rule. This keeps one gift from setting off a stack of reactions.
The order WaveSync checks
| Order | Rule type | In the gift picker | Runs when |
|---|---|---|---|
| 1 | A named gift | Choose the gift from the list | The viewer sent that exact gift |
| 2 | A value level | Gift total is at least | The gift's total value reaches the level. Only the highest matching level plays |
| 3 | Any gift | Any gift | No more specific rule matched |
Only enabled rules are considered. If two rules of the same type both match, for example two rules for the same named gift, only one of them runs, so keep one rule per gift or level.
How gift value is worked out
For a value level, WaveSync takes the gift's coin value from the gift catalog and multiplies it by the number of gifts sent together, counting at least one. A rule set to Gift total is at least 100 runs when that total is 100 or more.
If WaveSync cannot find the gift in its catalog, its value counts as zero for value levels. An Any gift rule still catches it.
Three examples
Say you have a rule for one named gift, value levels at 10 and 100, and an Any gift rule.
| The viewer sends | Rule that runs | Why |
|---|---|---|
| The named gift | The named gift rule | An exact match always comes first |
| A gift worth 30 coins, sent 5 times together | The 100 level | Its total is 150, and 100 is the highest level reached |
| A gift WaveSync cannot find in its catalog | Any gift | Its value counts as zero, so no level matches |
Set up a gift rule
- Open Actions.
- Choose Create Action and pick the Gift trigger.
- In the gift picker, choose a specific gift, set Gift total is at least with a minimum coin value, or choose Any gift.
- Add what should happen, such as a sound, a thank-you or a spoken line.
- Choose Try action to see and hear the result.
Neither Try action nor the stream test shows which rule a real gift will choose, so set your rules up using the order above.
Text you can insert
| Write | On a gift action it shows |
|---|---|
| {user} or {username} | The viewer's username |
| {gift} | The gift's name, or the word gift if WaveSync does not know the gift |
| {amount} | How many of the gift were sent together, at least 1. It is not the coin value |
| {message} | Nothing. Gifts carry no message, so leave it out of gift actions |
For example, {username} sent {amount} {gift} reads as mira sent 3 Rose. Check any text with Try action before you go live, so you hear exactly what will be read out.
Other triggers work differently
Only gifts use this one-rule order. For comments, follows, likes and other triggers, every enabled rule that matches can run, so two rules for the same chat command will both fire.
Sources
How this page was checked
This page describes WaveSync as documented on the update date above.
Open WaveSync and test it
Make the change, then send a test event and check it in your streaming app before you go live.
Open WaveSync →