Skip to content

Reference Script Functions Text

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

Text 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.

text.resolve

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

Value What to put in
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.call("text.resolve", text="Thanks %user% for the follow!")

Clone this wiki locally