New Dropdown Option (Expression) — DiSky

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

Syntax

[a] new [drop[( |-)]down] option [with] [the] value %text% [(named|with [the] label) %text%] [with [the] description %text%] [with [the] emoji %types.emote/text%]

Description

Creates an option to add to the options of a string dropdown.

Examples

set {_o} to a new option with value "red" named "Red" with emoji "🔴"
add {_o} to options of {_dropdown}

View source