Functionalities
Other
$randomString
Returns a random string of letters, and numbers.

FUNCTION USAGE

  • $randomString
  • $randomString[]
  • $randomString[amount]
  • $randomString[amount;characters]

Properties:

[] - Leave brackets empty to return 10 random characters. Same as no brackets. amount - The amount of characters to return. Defaults to 10. characters - The characters to randomize. Defaults to a default set of system characters.

Example:

1
bot.Command({
2
name: "verify",
3
code: `
4
$​setUserVar[verification;$randomString[4]]
5
Your verification code - $randomString[4]
6
$​dm
7
8
$blackListRolesIDs[$getServerVar[vrole];:x::exclamation: You're already verified!]
9
10
$onlyIf[$getServerVar[vswitch]==ENABLED;Verification system is currently disabled by server owner or admin!]`
11
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: