Skip to content

Script Execution Flow & Entry Points 🟑 BETA

A tool script is compiled from .bas source and invoked by CALL or a direct tool execution.

Where BASIC scripting sits in the Developer guide

Example

CALL "get_weather"

What it does

Source files come from the bot's .gbdialog/ folder and are compiled before use; CALL is the catalogued way to run another script of the same bot.

Entry points

Entry When it runs
start.bas Once per session
{tool}.bas On CALL or direct tool execution
tables.bas Compile time, for schema

Limits

  • Listed in the closed keyword catalog in botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one.
  • Listed in the closed keyword catalog in botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one.
  • tables.bas is parsed at compile time and is not callable with CALL.