Repository navigation
Reference Script Functions Crowdcontrol
Also on the Cuebot Docs site.
Functions for C# (Cb.Call) and Python (a cb method each, or cb.call). See Script functions for how to use them.
Tells you about the Crowd Control game session that is running, and the timed effects that are active.
Gives back: active (true while a session runs), paused, gameSessionId, gameName, gamePackName and timedEffects (a list: requestId, effectName, user, status, timeRemaining in milliseconds).
C#
var answer = await Cb.Call("crowdcontrol.getSession");Python
answer = cb.crowdcontrol_get_session()Checks whether Cuebot is connected to Crowd Control right now.
Gives back: true while connected, otherwise false.
C#
var answer = await Cb.Call("crowdcontrol.isConnected");Python
answer = cb.crowdcontrol_is_connected()Fakes a Crowd Control event inside Cuebot, so you can test your triggers. Nothing is sent to Crowd Control. Other kinds: effectFailure, effectRefund, timedEffectUpdated, timedEffectEnded, gameSessionEnd.
| Value | In Python | What to put in |
|---|---|---|
kind |
kind |
Optional. Which event, like "effectSuccess" (default), "effectRequest", "timedEffectStarted", "coinExchange" or "gameSessionStart". |
Gives back: true when the test event was sent, false when the kind is unknown.
C#
var answer = await Cb.Call("crowdcontrol.sendTestEvent", new { kind = "effectSuccess" });Python
answer = cb.crowdcontrol_send_test_event(kind="effectSuccess")Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- Overlays and alerts
- Writing your own overlay widgets
- Text-to-speech
- Music and now playing
- Points, store and giveaways
- Subathons and goals
- Stream apps and devices
- VTuber apps
- Stream Deck
- The phone app
- Donations and integrations
- Discord bot
- The setup assistant and AI tools
- The assistant on your own computer
- Moving from Streamer.bot
- Cuebot's servers
- Writing code (C# and Python)
- Python in detail
- Using your own code editor
- Controlling Cuebot from other programs
- Backups and your data
- Linux
- Command-line options
- Troubleshooting
- What's experimental
- Reference
