Skip to content

Reference Script Functions Text

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

Text 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

text.resolve

Fills in the variables in a text, just like a sub-action does: %variables%, globals and $functions()$.

Value In Python What to put in
text text The text with placeholders, like "Thanks %user%, you are follower number followers!".

Gives back: The text with every placeholder filled in.

C#

var answer = await Cb.Call("text.resolve", new { text = "Thanks %user% for the follow!" });

Python

answer = cb.text_resolve(text="Thanks %user% for the follow!")

Clone this wiki locally