WaveSync help · Actions and rules

When a chat message starts an action, and who can start it

A chat command action runs when a message is the command or starts with it and a space. Here is what matches, what {message} reads, and which conditions exist.

Published November 12, 20264 minute readBy WaveSync Staff
In this guide

A Chat Command action runs when a viewer's message is exactly the command, or starts with the command followed by a space. Capital letters make no difference. Every enabled action that matches runs, so two actions set to !spin both fire. Conditions can narrow who starts an action, but the editor shows them only for Viewer Joined.

Create a chat command

  1. Open Actions.
  2. Choose Create Action.
  3. Under When this happens..., choose Chat Command.
  4. Type the command into the box, for example !spin.
  5. Choose Next Step.
  6. Under Make this happen..., choose the result, such as Play Sound or Spin the Wheel.
  7. Choose Create Action.

Try action on the new card runs the result once. It does not send a chat message, so it cannot tell you whether a message would have matched. Use the table below for that.

What counts as a match

Command set to !spin, viewer typesRuns?Why
!spinYesThe whole message is the command
!SPINYesCase is ignored
!spin for the prizeYesThe command comes first and is followed by a space
!spinningNoNo space after the command
please !spinNoThe message does not start with the command

The ! is a habit, not a requirement. A command can be any word, but a common word will fire every time someone opens a sentence with it.

Read Chat Aloud hears everything

If you started with ready-made actions, Read Chat Aloud has no command. An action with no command matches every chat message, so it also reads out messages meant for other commands, such as !spin. Turn it off on its card if you only want commands, or limit whose messages it reads with Chat TTS Restrictions, below.

Text from the message

WriteIn Read It Aloud or Show a Thank-youIn Change Scrolling Words
{user} or {username}The viewer's usernameThe viewer's username
{message}The whole message, command includedThe message with the command removed
{amount}Also the whole message, so leave it out of chat actionsAlso the message without the command

So a Read It Aloud action on !say with the text {message} reads the !say aloud too. Try action plays sample text, so if the exact wording matters, send yourself a real chat message during a test live.

Conditions

Viewer Joined is the only trigger with a condition in the editor. Under Who should start this?, choose Any viewer, or choose One viewer and type their TikTok username.

Some ready-made actions carry a condition the editor does not show. The first-like sound, for example, plays only on each viewer's first like. Editing that action keeps the condition.

Chat TTS Restrictions

These settings in the TTS tab decide whose chat messages Read It Aloud will speak. They apply to chat only; spoken lines for gifts, follows and other triggers are not affected.

  1. Open the TTS tab.
  2. Turn off Allow Everyone.
  3. Tick the groups to allow: Moderators, Subscribers or Followers.
  4. Set Minimum Fan Club Level and Minimum Gifter Level if you want them. 0 means no minimum.

The two minimum levels also apply when Allow Everyone is on. A message from someone outside the allowed groups still runs the action's other results, such as a sound. Only the spoken part is skipped.

Sources

How this page was checked

This page describes WaveSync as documented on the update date above.

Ready when you are

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 →