Text script functions¶
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.
var answer = await Cb.Call("text.resolve", new { text = "Thanks %user% for the follow!" });
answer = cb.call("text.resolve", text="Thanks %user% for the follow!")