$eval

Evaluates the provided BDScript code. Can only be used in BDScript 2.

⚠️ Should be used with caution! ⚠️

Syntax

$eval[Source code]

Parameters

  • Source code (Type: String || Flag: Emptiable): The code to be evaluated.

Example

$nomention
$eval[$message]
!example $sendMessage[Hello! My username is $username]] Hello! My username is Nicky

How $message works?

⚠️ Should be used with caution! ⚠️

It is recommended to restrict the command to be only used by the bot developers, this can be done with:

$nomention
$onlyForIDs[$botOwnerID;❌ You are not my owner!]
$eval[$message]

How $onlyForIDs[] and $botOwnerID works?