Skip to content
Variables get

$get — Reads a local variable set by $let.

Reads a local variable set by $let.

Syntax

$get[name]

Parameters

  • name (text, required) — Variable name.

Return Value

  • string.

Usage

$get[n] → value, or empty

Example

$let[n;5]
$sendMessage[$get[n]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.