Skip to content
Variables delete

$delete — Deletes a local variable.

Deletes a local variable.

Syntax

$delete[name]

Parameters

  • name (text, required) — Variable name.

Return Value

  • string.

Usage

$delete[n]

Example

$let[n;1]
$delete[n]
$sendMessage[$has[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.