xtoys

XToys scripting notes

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

Sources

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.