Flags & Debug
alternativeParsing
$alternativeParsing
The $alternativeParsing function is accepted so that scripts written for BDFD still run. In this engine its handler ignores any argument and returns an empty string: it does not change how the code is parsed.
Syntax
$alternativeParsing[(value)]
Parameters
The engine accepts zero or one argument and ignores it.
Return value
An empty string.
Behavior
- No parsing mode is switched: the code is parsed and executed in the same way with or without this function.
- It never raises an error for a valid call.
Examples
Script ported from BDFD
$alternativeParsing
$sendMessage[Hello]
Notes
- Do not add it expecting a different handling of brackets or special characters.
- Related no-op functions:
$optOff,$disableInnerSpaceRemoval,$disableSpecialEscaping.
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.