Skip to content

Streamloots script functions

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.

var answer = await Cb.Call("streamloots.isConnected");
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.

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