Skip to content

Reference Script Functions Transfer

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

Import and export 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

transfer.export

Packs actions, commands and timers into one import text (starting with CUEBOT1:) that you can share. Fails when a name is not found.

Value In Python What to put in
actions actions Optional. Action names, separated by commas, like "Shoutout, Raid alert".
commands commands Optional. Command names, separated by commas, like "!so, !lurk".
timers timers Optional. Timer names, separated by commas.
includeDependencies include_dependencies Optional. true (the default) also packs what they need, like actions they run. false packs only what you named.
name name Optional. A name for the pack, shown when someone imports it.
author author Optional. Your name, shown when someone imports it.
description description Optional. A short note about the pack, shown when someone imports it.

Gives back: The import text, starting with CUEBOT1:.

C#

var answer = await Cb.Call("transfer.export", new { actions = "Shoutout, Raid alert", name = "My shoutout pack", author = "CoolStreamer" });

Python

answer = cb.transfer_export(actions="Shoutout, Raid alert", name="My shoutout pack", author="CoolStreamer")

Clone this wiki locally