Chain Reactions
Category: Advanced Mechanics
Standard keyword matching requires a trigger to be physically typed into the chat by either you or the AI. While this works perfectly for isolated locations or standalone characters, worldbuilding is
MiocAI는 Character.AI, Candy AI 등 AI 캐릭터 채팅 앱의 대안입니다.
Current overnight mood intent
During 12am-6am US Eastern, many users lean toward bolder, more unfiltered, more intense adult roleplay and private chemistry-driven AI chat without disruptive restrictions.
- Unfiltered AI chat for users who want stronger tension, adult roleplay, and more daring conversations.
- Private character-driven experiences where chemistry, tone, and pacing matter as much as raw freedom.
- Night-owl users comparing uncensored AI platforms, NSFW AI chat tools, and no-filter roleplay apps.
- Documentation helps users turn mood-based intent into better prompts, clearer personas, and stronger story continuity.
Quick answers for modern search intent
What does MiocAI documentation help with? It helps users create better AI characters, improve prompting, refine roleplay structure, use Image Studio effectively, and understand platform workflows quickly.
Why is it useful for AI-assisted search? The guides answer practical product questions directly, which helps both human visitors and answer-engine style search systems identify relevant next steps.
What intent does it satisfy? It serves tutorial, comparison, troubleshooting, and workflow intent for users who want clear instructions instead of vague marketing copy.
Standard keyword matching requires a trigger to be physically typed into the chat by either you or the AI. While this works perfectly for isolated locations or standalone characters, worldbuilding is rarely that disconnected. Factions have leaders, leaders wield artifacts, and artifacts are tied to ancient curses.
If you had to explicitly type "The King," "The Sun Crown," and "The Blood Curse" into a single message just to make the AI aware of the political situation, the dialogue would become incredibly unnatural.
The system bypasses this limitation entirely through a mechanic called Recursive Scanning. This allows your lorebook entries to read each other, creating invisible, automated chain reactions of context.
1) How Recursive Scanning Works
When Recursive Scanning is enabled on a lorebook, the activation pipeline adds an extra step.
First, the system scans the recent chat messages and finds a primary keyword. It activates the corresponding entry. Then, instead of stopping there, the system takes the content of that newly activated entry and scans it for the keywords of every other entry in your lorebook.
If Entry A contains the keyword for Entry B, Entry B is automatically activated and pulled into the context alongside Entry A. The AI is now aware of both concepts, even though you only mentioned one of them in the actual roleplay.
2) The King and The Crown
To see this in practice, consider two separate entries in a fantasy lorebook.
Entry 1:
* Keywords: King Alaric, the king
* Content: King Alaric is the ruthless ruler of Eldoria. He is paranoid, elderly, and never takes off The Sun Crown.
Entry 2:
* Keywords: The Sun Crown, royal crown
* Content: The Sun Crown is a cursed magical artifact that slowly drains the wearer's life force, turning their veins black.
In the chat, you simply type: "I demand an audience with King Alaric."
The system sees "King Alaric" and activates Entry 1. It then scans the content of Entry 1, spots the phrase "The Sun Crown", and immediately activates Entry 2.
The AI receives both the personality of the king and the mechanical rules of his cursed artifact. When the AI generates its reply, it can naturally describe the king's black veins and deteriorating health without you ever having to prompt it about the crown.
3) Max Recursion Depth: Stopping the Loop
Chain reactions are powerful, but they are also dangerous. If Entry A triggers Entry B, and Entry B triggers Entry C, which triggers Entry D, you will rapidly exhaust your lorebook's Token Budget. The AI's context window will be flooded with distant, irrelevant lore that has strayed far from the original chat topic.
This is controlled by the Max recursion depth setting, located in your main lorebook configuration.
This numerical value sets a hard limit on how far down the rabbit hole the system is allowed to go. * Depth 0: Recursion is completely disabled. Only direct chat matches work. * Depth 1: The chat triggers an entry, and that entry can trigger one more layer of entries. The chain stops there. * Depth 3 (Default): The system allows the chain to propagate three steps away from the original chat trigger.
If your lore is highly interconnected, keep a close eye on your token limits. A lower max depth ensures the injected data remains strictly relevant to the immediate scene.
4) Fine-Tuning the Chain
You do not have to rely solely on the global depth limit. Inside the editor for any individual entry, there are specific toggles designed to micromanage how that entry interacts with the recursion pipeline:
- Prevent recursion: If this is toggled on, the system will not scan this entry's content to trigger anything else. It acts as a dead end for the chain reaction.
- Non-recursable: If this is toggled on, the entry can only be triggered by direct words in the chat. It will completely ignore keywords found inside other lorebook entries.
- Delay until recursion: This reverses the standard logic. The entry becomes invisible to the chat. It will only activate if its keyword is found inside the content of another active entry. This is highly effective for hidden lore or secret mechanics that should never trigger prematurely from casual conversation.
Mastering these toggles allows you to build dense, interwoven encyclopedias that feed the AI exactly what it needs to know, precisely when it needs to know it.