Skip to content

$choice

Returns a random text from all possible options.

Parameters

NameDescriptionEnforcedDefault Value
TextsThe texts to set as possible options.YesNone

Example

$choice[...texts]

Function Aliases

  • $randomText
  • $randomChoice