Lunelle ← Back to home
Guides

How to make an AI bot say your name ({{user}} and {{char}})

Updated

To make an AI bot say your name, type {{user}} wherever the character would use it: in the greeting, the definition, the scenario, or example dialogue. Then set the name you want in the app, on your persona or in your profile. Before the text goes to the AI, the app replaces {{user}} with that name and {{char}} with the character’s name, so a greeting that says “Evening, {{user}}” reaches the model as “Evening, Ilse.” When a bot calls you “User”, shows the curly braces, or uses a name you never gave it, the cause is usually one of four things: no name set, the wrong kind of brackets, a name the bot’s creator typed in, or an app that doesn’t support placeholders.

{{user}} and {{char}} work in Character.AI, SillyTavern, Chub, KoboldAI Lite, and Janitor AI bots. PolyBuzz uses single braces, AI Dungeon has its own placeholders, and ChatGPT, Claude, and Gemini have none. This guide explains what the placeholders do, where to type them, which name each app puts in their place, and how to fix a bot that gets your name wrong, as of December 2026. It belongs to the same series as our guides to writing a character definition and writing a persona.

What {{user}} and {{char}} mean

{{user}} and {{char}} are placeholders, also called macros: short codes that the app swaps for real text before it sends anything to the AI. {{user}} stands for you, the person chatting, and {{char}} stands for the character. A bot maker writes the placeholder once, and every person who chats with the bot sees their own name in its place.

SillyTavern’s documentation describes macros as “dynamic placeholders that get replaced with actual values when text is processed,” and lists {{user}} as the “current user/persona name” and {{char}} as the “current character name.” The Character Card V3 specification, the shared format many apps use to import and export bots, says {{user}} “MUST be replaced with the client’s set display name for user or current persona.” Character.AI’s creator guide says the placeholders “will be recognized and replaced anywhere in your text.”

Here is a greeting for Teodor, the ferryman from our definition guide, as the bot maker writes it:

{{char}} doesn't look up from the ledger. "Landing closes at dark, and it's nearly dark." He runs a finger down the page and stops. "{{user}}. The guild clerk sent word you'd be coming." He dips his pen. "Two silver to cross. Four after dark."

If your persona is named Ilse Marr, the app sends “Teodor doesn’t look up from the ledger…” and “Ilse Marr. The guild clerk sent word you’d be coming.” The model never sees the braces. It reads a story in which the ferryman already knows your name, so it tends to keep using it. The greeting names you without writing anything you say or do, which leaves your first move to you; our guide to stopping an AI character from speaking for you explains why that matters.

The placeholder does one job: it puts a name into the text. It doesn’t tell the AI anything else about you. Your appearance, role, and history come from your persona, which our persona guide covers.

Where to type {{user}}

Use {{user}} anywhere the character would refer to you by name, and anywhere the bot’s setup describes your character.

In the greeting

The greeting is the first place a name shows up, and where people notice it first. Character.AI’s help center calls this “instant personalization”: “Type {{user}} in your greeting and the system swaps it for the user’s display name automatically.” Its greeting checklist ends with “Does it use {{user}} for personalization?”

A name in the greeting also teaches the model a habit. The greeting is the model’s first example of how the character talks to you, and our guide to writing an opening scene explains why later replies tend to follow it.

In the definition and scenario

Write {{user}} in lines that say who you are to the character and how the character treats you, such as {{user}}: a stranger who needs to cross tonight and can pay. Character.AI’s 2026 definition guide gives this example of a behavior rule: “{{char}} does not ask {{user}} how they’re feeling. They notice.” A scenario that places you in the story works the same way. Our scenario guide has templates.

In example dialogue

Apps that use <START> blocks, such as SillyTavern and Chub, expect lines labeled {{user}}: and {{char}}:. Character.AI is different: its definition guide suggests a different stand-in name for the user in each example, such as “Alex in the first, Sam in the second,” so the model doesn’t read the examples as one conversation with you. Its older guide offers {{random_user_1}} and {{random_user_2}}, which the app replaces with generated names that are never yours. Our example dialogue guide covers both formats.

In lorebook entries and chat memory

Character.AI’s lorebook entries support both placeholders, and its help center says {{user}} “gives the chatter’s Persona a place in your world,” such as a reputation or a history. Janitor AI’s help center uses {{char}} and {{user}} in its own chat memory templates. Our guides to lorebooks and chat memory summaries show how.

Which name each app puts in place of {{user}}

The placeholder is the same in most apps, but the name it becomes depends on where the app looks: your persona, your profile, or a name you enter for the chat. If the bot uses the wrong name, check that the name is set in the place your app reads.

AppWhat to typeWhat it becomes
Character.AI{{user}}, {{char}}Your display name, per the greeting guide; the lorebook guide says “the person currently chatting, including their Persona”
Janitor AI{{user}}, {{char}}The name of the persona you chat with; {{char}} becomes the Character Chat Name
SillyTavern{{user}}, {{char}}The active persona’s name
Chub{{user}}, {{char}}”The name of whichever user is interacting with the character at the time”
KoboldAI Lite{{user}}, {{char}}Your displayed name and the AI’s name, set for the chat session
PolyBuzz{user}, {char}The user’s name and the character’s name (single braces)
AI Dungeon${character.name} and other ${…} promptsWhatever you type when the scenario asks at the start
ChatGPT, Claude, GeminiNo placeholdersWrite the name itself

Character.AI’s help center describes {{user}} in two ways. The 2026 greeting guide says it becomes “the user’s display name,” with the example that a user whose display name is Marie sees “Hey, Marie.” The lorebook guide says it’s replaced with “the person currently chatting, including their Persona.” To be safe, give your persona the same name as your profile, so both sources agree.

Janitor AI’s help center doesn’t publish a placeholder reference, but its pages use {{user}} and {{char}} in their own examples, and bot makers’ guides on the site describe {{user}} as your persona’s name. Its character creation page says the Character Chat Name field is “the name that the bot will use during your chats.”

Why a bot calls you “User” or the wrong name

Most name problems have a short list of causes. Work through them in this order.

No name is set where the app looks

If you never named your persona, or you chat with a persona that has a different name, the app fills {{user}} with whatever it has: a default such as “User”, your account name, or the name of your main persona. Janitor AI’s persona FAQ warns that new chats “ALWAYS default to your Main Persona first,” even if your last chat used another one. Check which persona is selected before you start.

The brackets are wrong

Most apps need two curly braces on each side: {{user}}. A single pair, {user}, is plain text there, and the AI receives it as typed. PolyBuzz is the exception: its greeting guide says to “Use {user} to represent the user’s name.” AI Dungeon uses a dollar sign and single braces, and its help pages note that these placeholders are case-sensitive. SillyTavern accepts {{User}} or {{USER}}, since its macro names are “case-insensitive.”

The bot’s creator typed a name

Some bots name your character in the greeting or definition (“Your name is Mizuki…”), and the AI keeps using that name over yours. If it’s your bot, replace the name with {{user}}. If it’s someone else’s bot, write your name into your first message, or add an out-of-character note such as (OOC: My character's name is Ilse, not Mizuki.). Our guide to what OOC means covers how to write notes the AI follows. In apps that let you edit messages, you can also change the name in the greeting before you reply.

The app doesn’t support placeholders

If an app doesn’t replace {{user}}, the model receives the braces as typed. It may treat them as your name, repeat them in a reply, or call you “user”. Copying a bot from one app to another can cause this when the new app uses a different syntax. Replace the placeholders with the app’s own syntax, or with real names.

The earlier messages still use the old name

Changing your persona’s name affects new text, but earlier messages keep the name they were written with, and the model reads those messages too. SillyTavern’s documentation notes that switching personas in the middle of a chat doesn’t change who sent the earlier messages. After a name change, start a new chat, or tell the story why the character has a new name.

{{user}} and {{char}} are swapped in a persona

Inside your persona, the roles flip: you are the one being described. SillyTavern’s documentation warns that the two placeholders “have opposite meanings when used in Persona and Character descriptions.” The safest fix is to write your character’s name in the persona instead of a placeholder.

When {{char}} gives the wrong name

{{char}} becomes the character’s name, but apps choose between two names: the title shown on the bot’s page and a shorter name for the chat. If a bot is listed as “Teodor | Ferryman of Hollow Crossing” and has no chat name, the whole title can end up in sentences: “Teodor | Ferryman of Hollow Crossing dips his pen.” Set the short name in the field your app provides. Janitor AI calls it Character Chat Name, Chub calls it In-Chat Name, and the Character Card V3 specification uses the card’s nickname field when it’s filled in, falling back to name.

{{char}} also causes trouble in bots and lorebooks shared by several characters. Character.AI’s lorebook guide warns that when a lorebook is linked to several characters, “A detail written with {{char}} becomes true of every linked Character.” In a bot that plays a whole cast, {{char}} means the bot, which may be a narrator or a place. Name each character directly instead. Our guide to making a bot with multiple characters explains how.

Other placeholders you can use

Some apps support more than the two names. These are some of the more useful ones:

SillyTavern lists every macro it supports when you type /? macros in the chat box. Pronouns, an extension from the SillyTavern project, adds macros such as {{pronounSubjective}} and {{pronounPosDet}}, so a bot can use your pronouns as well as your name. It needs SillyTavern’s Experimental Macro Engine.

Making ChatGPT, Claude, or Gemini use your name

General assistants have no placeholders, so write the name. In a story setup, put your character under its own heading with the name in the first line (“You play Teodor. I play Ilse Marr, a courier”), and use the name in your first message. ChatGPT’s custom instructions apply to every chat, so put a character’s name in a project’s instructions instead, or in a Gem in Gemini. Our guide to how to roleplay with AI has a starter prompt.

Common questions

How do I make a Character.AI bot say my name?

Type {{user}} in the bot’s greeting and definition where the character would use your name. Character.AI replaces it with the user’s display name, so set your profile name to what you want characters to call you, and give your persona the same name. On someone else’s bot, use your name in your first message.

What does {{char}} mean?

It’s a placeholder for the character’s name. The app replaces it before the AI sees the text, so a bot maker can rename the character without editing every line. In apps with a separate chat name, such as Janitor AI’s Character Chat Name, {{char}} uses that.

Why does Janitor AI call me “user”?

Usually because the persona you’re chatting with has no name, or a different one from what you expect. Check the persona selected above the Chat button before you start, since new chats begin with your Main Persona. If the bot itself names you, the creator typed a name in its greeting or definition.

Why does the bot show {{user}} in its reply?

The app didn’t replace the placeholder, so the model saw it and copied it. Check the brackets first: some apps, such as PolyBuzz, use {user}, and AI Dungeon uses ${…}. If the bot came from another app, rewrite the placeholders in the new app’s syntax.

Can I use {{user}} in my persona?

You can in apps such as SillyTavern, but there it means you, and {{char}} means the character you’re talking to. Writing your character’s name avoids the mix-up.

Does {{user}} work in Chai or Talkie?

We found no documentation of placeholders from either app as of December 2026. Write greetings that address the reader as “you” so they work for anyone, and give your name in your first message.

In Lunelle AI you describe a character or adventure to the creator in a chat, and it builds it with you, so you don’t fill in fields or type placeholders. Characters are built to keep their personality, voice, and established facts over long plays. See creating characters and adventures by chatting.

Sources