The rule editor has three zones: the list of Reactions on the left, the rule itself in the middle (When, then Then), and the Settings of whatever you just touched on the right. To write your very first rule step by step, start with Create your first rule, then come back here.
1. Open a rule
In Rules, click a row to open the rule, or click New rule to create one. A new rule starts with the trigger "Gift received" and no reaction at all: nothing will run until you add one.
At the top, you can rename the rule, and the Active / Paused switch turns it on or off.
2. Choose the trigger
The When card holds the trigger: what starts the rule. Click it to change it or to set it up in Settings. Triggers come in families: During the live (gift, follow, chat message, likes, share, arrival…), When a game answers, From the remote and Advanced.
Each trigger asks a single question: which gift, which message, how many likes apart. An empty answer means "any".
A game trigger is set up in Games and counters, where the rule is born with its reaction already in place.
Add another trigger makes the rule run for one or the other. A rule holds five at most, and Remove this trigger takes one away.
3. Add conditions
Under the trigger, Add a condition opens a menu with a search box ("Search a condition…") and two groups:
- Who can trigger: your moderators, your top gifters, loyal viewers, one specific username;
- How often: once per live, a delay per viewer, a global delay, and thresholds such as "At least N ◆" or "Minimum combo".
A condition you add becomes a chip on the card; click it to set it up. The conditions of one trigger stack up ("and"), up to six. With no condition, the rule runs every time.
A greyed-out choice marked "Not sent by TikTok yet" can't be decided yet: Tikyline won't let it run for everyone.
The Costs points condition makes the viewer pay N points to start the rule. If their balance is too low, nothing happens.
4. Chain the reactions
The Then zone lists what Tikyline does, in order, one after another. To add a reaction:
- click one in the list on the left (Search a reaction… finds it by name) and it is added at the bottom;
- or drag it between two reactions;
- or press "/", which opens the palette from anywhere.
A rule holds up to eight reactions. Beyond that, the screen suggests writing a second rule, the way a wheel chains its outcomes.
To change the order, drag a reaction's handle, or press Alt + ↑ or Alt + ↓. Ctrl + D duplicates the selected reaction, Del removes it and Ctrl + Z brings back the last one removed. Collapse shows one line per reaction.
With several reactions, an Advanced block appears under the stack. It lets you choose between All reactions play and Only one reaction, at random; in the second case, you set the chances on each reaction.
The bottom of the screen counts the reactions still to complete, and a click opens the first one. When everything is set, it shows "All set".
5. Find your way around the map
When the middle of the screen is wide enough, the rule reads as a map with its wires. You can:
- drag the background to move around;
- Ctrl + scroll to zoom around the pointer (scrolling alone moves the map);
- use the Zoom out and Zoom in buttons, with the percentage shown between them;
- click Recenter to see the whole rule.
From the keyboard, once the map is selected: arrow keys move, + and − zoom, 0 recenters. Zoom goes from 40% to 160%, and the view is kept for each rule, in this browser only.
Cards can't be moved. On a narrow screen, the map gives way to a vertical stack, with no zoom.
6. Test, then save
At the bottom of the editor, Test replays the rule with a test viewer, without counting anything. If a card still needs completing, the test doesn't run.
If you are live and the rule shows something on screen, Tikyline first asks "Test live, during your live?", because your viewers will see it. The result reads under In one sentence: "Tested just now · everything fired", or how many reactions went out.
Everything saves as you go. Save confirms and takes you back to the list. During a live, your changes stay a draft: your viewers keep seeing the previous version until Publish to the live.
7. Find a rule elsewhere
The Rules page is the list of your rules: a search box ("Search rules"), the Name and On columns, and one click opens the editor. A rule that spins a wheel also has See the chain in its ⋯ menu: that view shows the wheel and the follow-up of each section, with Test the chain and Back to the rule. They are the same rules, read another way.
For a first overlay triggered by a rule, see the gift alert and the alert tool; to switch setups from one evening to the next, profiles. The Tools page lists every overlay.