Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🟢 A First Real Example

Let’s make the character “warm up” over time:

if (context.chat.message_count > 20) {
  context.character.personality += ", has really warmed up to the user";
  context.character.scenario    += " The atmosphere feels much friendlier now.";
}

Plain English:

  • After 20 messages → add warmth to both personality and scene.

  • The longer the chat, the more natural and connected it feels.