Skip to main content

$writeFile

This function writes content to a file at the specified path.

Parameters

ParameterDescription
filePathPath to the file to write content to.
contentContent to be written to the specified file.

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$writeFile[path/to/file.txt; This is some content.]
`,
});