OOC Commands

  • Narrative Control: How to Prevent AI Repetition Loops and Dialogue Glitches (2026)

    TL;DR Key Takeaway & Summary

    When an AI chatbot gets stuck repeating specific catchphrases (like “a predatory grin” or “can I ask you a question?”), the root cause is Context Loop Reinforcement. Fix it immediately by editing the bot’s previous messages to excise the repeated words, increasing your Repetition Penalty to 1.12–1.15, and injecting an OOC directive. Reference our master guide on janitor ai for overarching platform mechanics.

    Key Takeaways

    • The Autoregressive Trap: LLMs predict words based on what came before. If a phrase appears in message 5 and message 6, the model thinks that phrase is mandatory in message 7.
    • Edit Message is Your Best Friend: Manually deleting the repeated phrase from the AI’s last 2 replies breaks the statistical loop instantly.
    • Parameter Adjustments: Raise Repetition Penalty slightly (1.12) and bump Temperature (0.90) to introduce lexical variety.
    • OOC Steer: Use ((OOC: Stop repeating [phrase])) to reset the model’s attention heads.
    • Explore Next: Guard your roleplay against other common errors with janitor ai jailbreak guide or explore fresh plots in roleplay fantasy ideas.

    1. Why Do AI Roleplay Bots Get Stuck in Loops?

    Have you ever had a character who cannot stop saying: – “He smirked with a predatory glint in his eye.”“You’re playing with fire, little mouse.”“Can I ask you something? Promise you won’t get mad?”

    🔁 Anatomy of an Autoregressive Looping Trap

    1. Turn 1: The bot spontaneously includes a cliché like “predatory smirk” in its response.
    2. Turn 2: In the next generation, the attention mechanism sees that phrase in the context window and calculates a higher probability for it.
    3. Turn 3: The probability triples, forming an algorithmic feedback loop that traps character dialogue until manually broken.

    This phenomenon is known as Contextual Attention Reinforcement. Because language models are probabilistic token predictors, repeated words in recent history exponentially increase the probability that those identical tokens will be chosen again.

    2. The 3-Step Immediate Fix

    Step 1: Edit the Bot’s Previous Messages (Crucial!)

    Do not just swipe or tell the bot to stop in dialogue. Click the Edit Pencil Icon on the bot’s last 1 to 3 messages. – Manually delete the offending phrase. – Replace it with fresh, distinctive action beats or vocabulary. – Save the edits. You have now cleansed the context window of the viral token!

    Step 2: Adjust Generation Parameters

    Open your Generation Settings: – Repetition Penalty: Raise from 1.0 to 1.12 – 1.15. This applies a mathematical penalty to any word that appeared recently. – Temperature: Raise slightly (e.g., from 0.75 to 0.85 or 0.90) to encourage diverse token sampling.

    Step 3: Send an OOC Circuit Breaker

    At the end of your next response, add this directive:

    ((OOC: Break repetitive phrasing. Cease using the words "smirk", "predatory", or "little mouse". Introduce fresh dialogue and distinct physical actions.))
    

    3. How to Prevent Loops During Character Creation

    If you are a bot creator, ensure your character definition doesn’t accidentally seed repetition loops: – Avoid Cliché Greetings: If your bot greeting uses a phrase three times, every subsequent chat will inherit that repetition. – Diversify Example Dialogues: Show the character expressing anger, humor, fear, and calm using varied vocabulary. – Add Anti-Loop Directives: Add [Constraint: {{char}} will actively vary speech patterns and avoid repetitive catchphrases.] into the character description.

    Conclusion

    Repetition loops are not permanent flaws in the AI, but predictable mathematical feedback loops. By proactively editing previous messages and tuning your repetition penalty, you maintain total narrative control.

  • Janitor AI Commands List: OOC Prompts, Text Formatting and Chat Shortcuts (2026)

    TL;DR Key Takeaway & Summary

    To gain full narrative control on Janitor AI, use Markdown formatting (*actions*, "dialogue", **emphasis**), OOC syntax (((OOC: instructions))), and dynamic template variables ({{char}}, {{user}}). Enable Text Streaming to see bot replies generate word by word. Reference our master janitor ai manual for full platform architecture.

    Key Takeaways

    • OOC Command Power: Wrapping steering instructions in double parentheses ((OOC: ...)) guides the AI without breaking the immersion of the fictional universe.
    • Dynamic Variables: When creating bots or writing prompts, {{char}} automatically resolves to the bot’s name, while {{user}} resolves to your persona name.
    • Text Streaming Demystified: Streaming outputs tokens in real-time, reducing perceived latency compared to batch processing.
    • Formatting Hygiene: Clean Markdown formatting directly influences the literary quality of the model’s output.
    • Explore Further: Browse pre-made system instructions in ai chat roleplay prompts or refresh your platform basics with how to use janitor ai.

    1. The Core Markdown Formatting Cheatsheet

    Janitor AI renders GitHub-flavored Markdown. Using clean Markdown keeps your story organized and teaches the AI how to structure its replies.

    *Actions, body language, sensory details, and environment*
    Example: *I step back toward the fireplace, warming my cold hands.*
    
    "Spoken dialogue out loud"
    Example: "We need to leave before nightfall."
    
    **Bold emphasis for shouting or dramatic impact**
    Example: "I told you **not** to open that door!"
    
    *Italicized thoughts or internal monologue*
    Example: *What on earth is he planning?* I wonder silently.
    
    ~Whispers, flirtatious remarks, or trailing voices~
    Example: ~Don't make a sound...~
    

    2. OOC (Out Of Character) Commands

    OOC commands are direct meta-instructions given to the underlying AI model. They allow you to alter the story’s trajectory, enforce boundaries, or fix continuity errors without breaking character inside the fiction.

    Narrative Layer Example Syntax Purpose & AI Interpretation
    Fictional Storyline *I draw my sword.* "Stand back!" In-character actions and dialogue executed within the fictional world.
    Meta-Instruction Layer ((OOC: Please slow down pacing.)) Direct instructions to the underlying LLM to adjust tone, pacing, or scene elements without breaking character.

    Essential OOC Command Templates:

    • Pacing Control: ((OOC: Slow down the pacing. Focus on detailed sensory descriptions and internal thoughts before taking any action.))
    • Preventing Bot Speaking for You: ((OOC: Do NOT write dialogue, thoughts, or actions for {{user}}. Strictly roleplay as {{char}} only.))
    • Tone Adjustment: ((OOC: Shift the tone to be more melancholic and serious. Avoid comedic or playful banter.))
    • Scene Transition: ((OOC: Fast-forward the scene to the following morning when both characters arrive at the tavern.))

    3. Dynamic Template Variables

    When designing character cards, opening greetings, or custom prompts, use these system variables:

    Variable Description Example Replacement
    {{char}} Automatically inserts the character bot’s name “Kaelen”
    {{user}} Automatically inserts your active Persona’s name “Alex”
    {{persona}} Injects your User Persona description text Persona profile body

    4. What Is Text Streaming in Janitor AI?

    A common question among new users is: “What is text streaming, and should I turn it on?”

    Mode Generation Behavior Best Used When
    Text Streaming ON (Recommended) Tokens render word-by-word in real time as computed by the neural network. Default mode for fast, natural conversational pacing and instant reading.
    Text Streaming OFF Waits until the full response is calculated before rendering the entire paragraph at once. Recommended on older mobile devices or unstable network connections to prevent UI stutter.
    • Streaming Enabled (Recommended): The AI streams tokens to your screen in real time as they are computed. This provides instant feedback, allows you to read while the bot is still typing, and mimics real conversation.
    • Streaming Disabled: The client waits until the full response is calculated before rendering the entire message at once. Turn streaming off only if you experience screen stutter or mobile rendering lag.

    To toggle streaming: Click ...Generation SettingsText Streaming Toggle.

    5. Summary Reference Table

    Syntax / Tag Primary Function Best Practice
    *text* Physical action & scene description Use in every response to ground dialogue
    "text" Spoken dialogue Keep distinct from internal thoughts
    ((OOC: text)) Meta-instructions to LLM Place at very bottom of your message
    {{char}} Bot name placeholder Use in bot definitions and system prompts
    {{user}} User name placeholder Keeps bot cards universal for all users

    Conclusion

    Mastering Janitor AI commands and syntax gives you authorial control over your roleplay sessions, turning unpredictable outputs into consistent, high-art interactive storytelling.