Logo Text Blaze

  • Docs
  • Community
  • Documentation

    Loading...

    Community Forums

    Loading...
Add to Chrome –  It's Free! Go to Dashboard ›

What's on this Page

  • Table of Contents
    • {random-text}
    • {random-coinflip}
    • {random-number}
Command packs

Randomize

Summary: Randomly show a phrase or select random values.

Table of Contents

  1. {random-text} — Randomly selects one of a couple different phrases.
  2. {random-coinflip} — Simulates flipping a coin.
  3. {random-number} — Generates a random number within a specified range.

{random-text}

Randomly selects one of a couple different phrases. Can be used to randomize a greeting or another part of a snippet.

Settings

SettingRequiredTypeDescription
positionalyesOrdered ListThe phrases you want to randomize between.

Example Usage

If you're replying to an email you can randomize your greeting.

Random greeting in email
{random-text: Hi, Hello, Howdy, Hey there} John



{random-coinflip}

Simulates flipping a coin. Returns yes 50% of the time, and no 50% of the time (this probability is configurable).

Settings

SettingRequiredTypeDescription
probabilitynoNumberThe percentage probability of a yes, defaults to 50%.

Example Usage

Use this command if you'd like to randomly show and hide content in combination with the {if} command.

Randomly show and hide content
{show={random-coinflip}}
{if: show}
Randomly show some content.
{else}
Do not show.
{endif}



{random-number}

Generates a random number within a specified range.

Settings

SettingRequiredTypeDescription
minyesNumberThe minimum value for the random number.
maxyesNumberThe maximum value for the random number.
roundednoyes/noWhether the random number should be rounded to the nearest whole number.
  • Guides
    • Quick Start
    • Sharing Snippet Folders
    • Dynamic Commands
    • Date and Time
    • Autopilot
    • Forms
    • Tidying Whitespace
    • Lists
    • Teams and Organizations
  • Tutorial Videos
  • Showcase
  • Frequently Asked Questions
  • Formula Reference
  • Dynamic Commands
    • Using Dynamic Commands
    • {=} (Formula Command)
    • {click}
    • {clipboard}
    • {cursor}
    • {error}
    • {formdate}
    • {formmenu}
    • {formparagraph}
    • {formtext}
    • {formtoggle}
    • {if}
    • {import}
    • {key}
    • {link}
    • {note}
    • {repeat}
    • {site}
    • {snippet}
    • {time}
    • {user}
    • {wait}
  • Connected Snippets
    • Connected Snippets Overview
    • {image}
    • {urlload}
    • {urlsend}
    • {dbselect}
    • {dbinsert}
    • {dbupdate}
    • {dbdelete}
  • Command Packs
    • Capitalize
    • Gmail
    • LinkedIn
    • Randomize

About

Plans and Pricing
Sharing Snippets
Text Blaze for Business
Forms
Autopilot
Dynamic Commands
Command Packs

Support

Get Started with Text Blaze
Contact Us
Documentation
Community Forum
Blog

Solution for

Teams
Customer Support
Recruiters
Education
Healthcare
Sales
Property Managers

Other

Privacy Policy
Terms of Service
Open Source Licenses
Affiliate
© 2023 Blaze Today Inc