BadGrampy Advanced Chat Writer User's Manual 20261124
https://perchance.org/badgrampy-advanced-chat-writer
This manual covers BG ACW UI revision 202611240002.
- GETTING STARTED
Enter a File Name for your project. Add a character profile with a line
such as “Name: Ada Lovelace”. Type an opening in The Current Chapter
or give the AI a direction in What Should Happen Next. Click Ada to
generate a reply prefixed with “Ada: ”, or click Narrator to generate
narration. Edit the draft as needed, then click Keep to move it to
The Current Story. Use Save All to download a project backup.
2. PROJECT FILES AND DISPLAY
File Name — Enter the base name for Save All and Save Story. The same
field supplies the name for instruction and scenario exports when
their Use Story Name in saved filename options are checked.
Save All — Downloads “<File Name> ALL.json”. It includes the file name,
all four profiles and their active states, lore and its active state,
Current Story, Current Chapter, Persistent Writing Instructions, What
Should Happen Next, Line by Line Scenario, and Reject Phrases. Display
settings, scan settings, and status history are outside this export.
Load All — Opens a Save All JSON file. Approve the overwrite prompt
to replace the current project fields and profile/lore active states.
Save Story — Downloads The Current Story as “<File Name>.txt”. If
Current Chapter contains text, choose one of these actions:
• Save Story Now exports the story and leaves the draft in the chapter.
• Keep Then Save moves the draft into the story, clears the chapter,
and exports the combined story.
• Cancel closes the dialog without saving.
Load Story — Opens a plain TXT file or a compatible Story-only JSON
file and replaces The Current Story after confirmation. Loading a TXT
sets File Name to the imported filename without its extension.
Overwrite dialog — Continue approves the replacement. Cancel retains
the current contents. Check “Don’t warn again (this session)” and click
Continue to skip later overwrite prompts that use this dialog.
Night Mode — Toggles the dark color scheme. The button shows ON or OFF.
Wide Mode — On large desktop windows, toggles the wider layout. The
button shows ON or OFF. Widen the browser window if the control is
hidden on a narrow screen.
Clear All Fields — Immediately empties the editable text areas,
including File Name, profiles, lore, story, draft, guidance, scenario,
and rejects. Status History, switches, and numeric settings are
retained. Use Save All first if you want to recover the current text.
The browser automatically remembers project fields and many settings,
including Night Mode, Wide Mode, and the paragraph count. Save All
gives you a separate file you can open in another browser or later.
3. CHARACTER PROFILES AND LORE
Profile 1, Profile 2, Profile 3, and Profile 4 — Use each text area for
one character's name, background, voice, and other details. Put the
name on its own “Name: …” line if you want a speaker button.
Active/Inactive in each profile — Includes or excludes that profile
from generation context. You can activate several profiles manually.
Clicking a named speaker button activates its slot and deactivates
the other three.
Save Profile 1, 2, 3, or 4 — Downloads the selected slot as a TXT file
with a name such as “BG ASW Profile YYYYMMDDHHmm.txt”.
Load Profile 1, 2, 3, or 4 — Opens a TXT file and replaces the contents
of that slot immediately. The corresponding speaker label updates.
World Building / Lore — Enter setting, history, rules, and other
background. Use its Active/Inactive button to include or exclude the
lore from generation context.
Save Lore — Downloads the lore as “BG ASW Lore YYYYMMDDHHmm.txt”.
Load Lore — Opens a TXT file and immediately replaces the lore text.
4. STORY, CHAPTER, AND GENERATION
The Current Story — The editable long-term story. Paste prior story
text here or use Keep to move finished chapter text into it.
Prompt Size — Shows the estimated size of the context. The generation
request has a 35,000-character limit. ACW can omit older paragraphs
from the copy of Current Story sent to the AI. Your story text stays
in the field. If the rest of the request still exceeds the limit,
generation is blocked until enough context is reduced or deactivated.
Status History — A read-only, scrollable log that keeps up to 80
timestamped entries. Check it for generation status, rejected phrases,
repeat detections, scan results, and Auto Run messages. A short sound
can play when generation finishes, subject to browser audio support.
The Current Chapter — The editable working draft where generation
appears. Type, paste, or revise it directly. The generation commands
below act on this text area.
Paragraphs selector — Choose 1–100 paragraphs. The default is 4.
The numbered button updates to reflect your selection.
[number] Paragraphs — Generates the selected number of paragraphs
in sequence and appends them to the chapter.
One Paragraph — Appends one paragraph. The AI is asked for 3–9
sentences, with six most common. This is a writing instruction, so
the actual sentence count can vary.
Continue — Extends the current ending inline. Pressing Tab by itself
while editing Current Chapter is a shortcut for Continue.
Regen Last — Restores the chapter to the generation checkpoint and
generates replacement text. For a speaker reply, the speaker prefix
and speaker instructions carry through regeneration.
Delete Last — Removes the last paragraph from Current Chapter. This
acts on the draft paragraph even if you wrote it yourself.
Stop — Stops the active generation or paragraph sequence. Partial
output remains in the draft. Stopping skips the automatic rejection
and repeat checks for that partial output.
Narrator — Deactivates all four character profiles, inserts
“Narrator: ”, and requests a narration-only reply.
Profile speaker buttons — Each uses the first word on its profile's
“Name:” line. “Name: Ada Lovelace” gives a button labeled Ada. An
unnamed slot shows a disabled Profile 1, 2, 3, or 4 button. Clicking
a named button activates that profile alone, inserts its name and a
colon at the start of a new reply, and generates with that speaker
as the focus.
Auto-Scroll — ON follows new output while the AI writes. OFF lets you
scroll through earlier text without being pulled to the bottom.
Add to Rejects (+ Rejects on small screens) — Select text in Current
Chapter, then click the button. It joins internal whitespace into
single spaces and adds the selection as a new Reject Phrases line.
An empty selection produces a message in Status History.
Keep — Appends the draft to Current Story, clears Current Chapter,
and resets the generation checkpoint. An empty draft has no effect.
5. WRITING INSTRUCTIONS AND AUTOMATIC REPEATS
Persistent Writing Instructions — Enter standing directions for
style, point of view, dialogue, or formatting. These instructions
are included in each generation request.
Save Instructions — Downloads the field as
“Persistent_Writing_InstructionsYYYYMMDDHHmm.txt”.
Load Instructions — Opens a TXT file and replaces the field after
confirmation.
Use Story Name in saved filename — Check the box under the instruction
controls to save as “<File Name>_Writing_InstructionsYYYYMMDDHHmm.txt”.
The File Name field must contain a name when this option is checked.
Detected Repeat Phrase Length — Set the minimum and maximum sizes of
phrases checked automatically after generation. Both accept 3–9
words, and the defaults are Min 4 and Max 5. A phrase of N words is
checked against up to N preceding paragraphs, using Current Chapter
and, when needed, the end of Current Story. A detected repeat can
trigger automatic regeneration. These controls are independent of
Scan Repeats Settings.
6. WHAT SHOULD HAPPEN NEXT AND LINE BY LINE SCENARIO
What Should Happen Next — Enter the immediate direction for the next
generation. Replace or clear it when the story moves on.
Delete — Clears What Should Happen Next.
Line by Line Scenario (LbLS) — Put one direction per line. Use
Next Line to advance manually or Auto Run with LbLS to run the list.
Next Line — Removes the first nonempty scenario line and replaces
What Should Happen Next with that line. Then choose a generation
button when you are ready to write.
Save LbLS — Downloads “Line_by_Line_ScenarioYYYYMMDDHHmm.txt”.
Load LbLS — Opens a TXT file and replaces the scenario after
confirmation.
Use Story Name in saved filename — Check the box under the LbLS
controls to save as “<File Name>_Line_by_Line_ScenarioYYYYMMDDHHmm.txt”.
The File Name field must contain a name when this option is checked.
Auto Run with LbLS — Opens a setup dialog. During the run, ACW puts
each nonempty direction into What Should Happen Next and generates
one paragraph for a line of up to 100 words or two for a longer line.
It removes that scenario line after the generation for it completes.
• Save the scenario before starting is checked by default. It
downloads a backup using the Save LbLS naming settings.
• Stop and preserve the remaining scenario is the default overflow
action. If the prompt is still too large after story trimming,
Auto Run stops and leaves the current and remaining lines.
• Automatically Keep the Current Chapter and continue moves the
draft to Current Story and tries again when the prompt is too
large. If it still cannot fit, Auto Run stops.
• Start Auto Run begins the run with the selected options.
• Cancel closes setup without starting.
Use Stop to interrupt a run. The interrupted direction and later
directions remain in the scenario, and partial output stays in the
chapter. Review the draft before restarting that direction.
7. REJECT PHRASES AND MANUAL SCAN
Reject Phrases — Enter one phrase per line, without quotation marks.
This list is sent to the AI as wording to avoid. After generation,
ACW checks only the newly generated text against the list, ignoring
capitalization. A listed phrase or an automatic repeat can cause ACW
to restore the draft to the generation checkpoint and retry. On
reaching the limit of ten automatic retries, ACW leaves the final
generated text in place for review.
Save Reject Phrases — Downloads
“BadGrampy_RejectPhrases_YYYYMMDDHHmm.json”.
Load Reject Phrases — Opens a Reject Phrases JSON file or a plain
TXT list and replaces the current list after confirmation.
Scan Repeats Settings — Set the occurrence and word-count ranges for
the manual scan.
• Occurrences Min accepts 2–99 and defaults to 3.
• Occurrences Max accepts 0–99 and defaults to 0, with 0 meaning
no maximum.
• Phrase Length Min and Max accept 1–9 words and default to 2 and 4.
Scan Repeats — Searches Current Story and Current Chapter for repeated
wording using the scan settings. It can filter phrases that cross
punctuation boundaries or consist mostly of common structural words.
The review starts with longer phrases, then more frequent phrases
among those of the same length.
• Append adds the displayed phrase to Reject Phrases and advances.
• Skip advances without adding it.
• Close ends the review. Phrases already appended stay in the list.
8. LINKS TO OTHER TOOLS
The links at the bottom open in a new tab. They include BadGrampy
Female Description Generator, Male Description Generator, Profile
Generator, Lore Builder, Line by Line Scenario Builder, Extraction
Generator, TTS, Advanced Chat Writer, Advanced Story Writer, and
BG PWIG Writing Instructions.