botserver/docs/src/chapter-06-gbdialog/keywords.md

2.8 KiB
Raw Blame History

Keyword Reference

This section lists every BASIC keyword implemented in the GeneralBots engine. Each keyword page includes:

  • Syntax Exact command format
  • Parameters Expected arguments
  • Description What the keyword does
  • Example A short snippet showing usage

The source code for each keyword lives in src/basic/keywords/. Only the keywords listed here exist in the system.

Core Dialog Keywords

  • TALK - Send message to user
  • HEAR - Get input from user
  • WAIT - Pause execution
  • PRINT - Debug output

Variable & Memory

AI & Context

Knowledge Base

Tools & Automation

UI & Interaction

Data Processing

Flow Control

Communication

Special Functions

Notes

  • Keywords are case-insensitive (TALK = talk = Talk)
  • String parameters can use double quotes or single quotes
  • Comments start with REM or '
  • Line continuation uses underscore (_)