Skip to content

WRITE 🟑 BETA

WRITE writes content to a file.

Where BASIC scripting sits in the Developer guide

Syntax

WRITE "path", content

Example

WRITE "out/report.txt", content

What it does

WRITE stores the given content at the named path in bot storage.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • Available only when the drive Cargo feature is enabled (botserver/src/basic/keywords/mod.rs).