Reference material for writing XToys scripts, with a focus on scripts driven by Bondage Club (BC) events.
| Document | Contents |
|---|---|
| Scripting guide | Concepts, workflow, expressions, JavaScript, webhooks, patterns, pitfalls |
| Script JSON reference | Field-by-field reference of the exported script JSON |
| JavaScript cookbook | Recipes for custom JS: menus, timers, queues, teases, multi-user, inputs |
| BC XToys plugin analysis | How the ItsNorin userscript works and the webhook event contract it emits |
| Veratown integration analysis | Whether and how the Veratown bot could feed XToys |
| Veratown XToys bridge proposal | Proposed design: use cases for all four options, controls, two-way control |
| Example reviews | Walkthroughs and bug reviews of supplied and public example scripts |
| Starter template | Minimal, importable BC-webhook script to build from |
| Tremblr + DG-LAB template | Webhook script for an F-Machine Tremblr and both DG-LAB Coyote channels |
| Veratown bridge test | Diagnostic script that exercises every Veratown bridge event and message |
| Veratown bridge harness | Node tool that impersonates the bot to test the script against XToys |
| BC room and chat sender | Userscript that sends room-entry and spoken-to events to your webhook |
| Veratown event router | Importable, configurable multi-output script and setup guide |
| Veratown bridge scripting guide | Complete event contract and basic, advanced, and expert scripting guide |
| Arousal to vibration | Importable, paused-by-default arousal-to-vibration example |
ababa68f74106d78d3d8801065f64192a4e46607 (2025-06-11, v0.5.9). That repository
has no license file, so this repository describes it but does not copy its code.9a886a4
(2024-06-27). No license file; described, not copied.examples/ (script1.json, tease1.json, tease2.json)
are kept out of version control because their authorship is unknown.The official guide is mostly screenshots of the script editor. Statements here about raw JSON field names come from the example exports and are marked observed where no official schema confirms them.