Skip to content

Reference Script Functions Streamlabs

Kristopher Barrantes edited this page Nov 5, 2026 · 2 revisions

Streamlabs script functions

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.

A Run Python code step in the action editor

streamlabs.isConnected

Checks whether Cuebot is connected to Streamlabs right now.

Gives back: true while connected, otherwise false.

C#

var answer = await Cb.Call("streamlabs.isConnected");

Python

answer = cb.streamlabs_is_connected()

streamlabs.sendTestEvent

Fakes a Streamlabs event inside Cuebot, so you can test your triggers. Nothing is sent to Streamlabs and it works without a connection.

Value In Python What to put in
kind kind Optional. Which event: "donation", "charity", "merch" or "loyalty". Default "donation".

Gives back: true when the test event was sent, false when the kind is unknown.

C#

var answer = await Cb.Call("streamlabs.sendTestEvent", new { kind = "donation" });

Python

answer = cb.streamlabs_send_test_event(kind="donation")

Clone this wiki locally