Skip to content

Reference Script Functions Streamloots

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

Streamloots script functions

Also on the Cuebot Docs site.

Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.

streamloots.isConnected

Checks whether Cuebot is connected to your StreamLoots alerts right now.

Gives back: true while connected, otherwise false.

C#

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

Python

answer = cb.call("streamloots.isConnected")

streamloots.sendTestEvent

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

Value What to put in
kind Optional. Which alert: "purchase", "gift", "communityGift" or "redemption" (a card was used). Default "redemption".

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

C#

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

Python

answer = cb.call("streamloots.sendTestEvent", kind="purchase")

Clone this wiki locally