18m
1

Onomatopoeia Injection Script

Advanced Script

Script that adds sound effects (e.g., “nnh,” “haahh,” “slurp”) and symbols (~♥♡♪) during sex scenes.

About this script

a dynamic JavaScript injector

Onomatopoeia
Injection Script

A lightweight injector that quietly rewrites the character's scenario the moment intimacy begins, pushing the model toward balanced dialogue laced with expressive sound.

The script is public and free to copy.
If you use it, please credit @dezea ^^
Runs on new messages
Scans each incoming user message as it arrives. No polling, no loops, no overhead.
Non-destructive
Prepends its rule and appends its state note, never overwriting existing scenario or personality.
Fails safe
If context is unavailable, the message empty, or nothing matches, it exits silently.
Core Functionality
01

Dynamic Trigger Detection

Scan · Match · Confirm

The script listens to every new user message and tests it against an extensive array of triggers. Rather than relying on a single word, it recognises three layers of language: explicit anatomy terms, physical action verbs like thrust, suck, ride, slam, and grind, and softer contextual phrases such as "make love", "from behind", "bent over", or "against the wall". Matching is case-insensitive and word-boundary aware, so it catches both the direct and the implied, and it only needs one match to fire.

02

Intelligent System Note Injection

Scenario · Personality · State

Once a trigger lands, the script prepends a detailed rule directly into the character's scenario, instructing the model to weigh descriptive dialogue and onomatopoeic sound evenly within intimate scenes. It then appends a quiet state marker, "Currently engaged in intimate activity.", to the character's personality. The original scenario and personality are preserved in full; the note is layered on top, so existing character definition is never lost.

03

Mandated Expressive Output

Dialogue · Sound · Symbol

The injected rule forces verbal expression and pleasure sound to coexist, neither may dominate. It ships with a categorised sound library covering suction/oral, muffled and mouth-full noises, panting and breathless gasps, and climax overload, plus explicit guidance against repeating sounds back to back. A symbol system rides alongside it, each mark given a defined purpose rather than used as decoration.

~  elongates bliss♥  overwhelming pleasure♡  tender warmth♪  playful lilt
04

One-Time Activation & Logging

Flag · Deduplicate · Confirm

The script sets a flag on the character the first time it injects, then declines to inject again on subsequent messages. This keeps the scenario clean, prevents the same rule from stacking up, and avoids wasted prompt space.

+ Under the Hood

Plain, dependency-free JavaScript wrapped in a self-invoking function. It reads the current chat context, checks the last message, and returns early on any of three guards, missing context, empty message, or prior injection. All trigger matching is regex-based and case-insensitive, and the scenario rule is stored once per character for the lifetime of the session. Works best paired with a symbols plugin that reinforces the same ~, ♥, ♡, ♪ vocabulary.

Happy roleplaying ♡
Crafted with care by @dezea

Script source

Public codeContext depth 3

Used by

1 character using this script


Please log in to see comments