$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.

Member04/23/2025
!!exec `$randomString[6]`
Custom Command Bot 04/23/2025
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