Custom Command
FunctionsRandom Functions

$randomString

Generates a random string of a specified length. This function is useful for creating unique identifiers, temporary passwords, or simply adding randomness to your commands.

Usage:

$randomString[length]
  • length: (Required) The desired length of the random string. This should be a positive integer.

Example:

This example demonstrates how to use $randomString to generate a 6-character random string.

Member
9/5/2026
!!exec $randomString[6]
Custom Command
APP
9/5/2026
qe90bT

In this example, the command !!exec $randomString[6] will generate a random string of 6 characters, such as qe90bT. The output will vary each time the command is executed.

Function difficulty: Easy

Tags: Random Random Text Choose Return Random String

On this page