Skip to content
Formatting advancedBar

$advancedBar — Generates an advanced progress bar

Generates an advanced progress bar

Syntax

$advancedBar[current;max;(length);values...]

Parameters

  • current (number, required) — The current value
  • max (number, required) — The max value of current
  • length (number, optional) — The length of the bar
  • values… (text, required) — The values to make the bar with, for example =;~;# means 0%;33%;66%

Return Value

  • String.

Usage

$advancedBar[current;max;(length);values...] → result

Example

$sendMessage[$advancedBar[5;10;4;=;~;#]]

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.