New Slash Choice (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a2

Syntax

[a] new [option] choice (named|with [the] name) %text% with [the] value %text/number%

Description

Creates a choice. Give a text value for a string option, a number for an integer or number option.

Examples

add a new choice named "Red" with value "red" to choices of {_opt}
return choices (a new choice named "One" with value 1)

View source