update and code refactoring focused on: 1. Adding new documentation pages to the table of contents 2. Restructuring the bot templates documentation 3. Changing keyword syntax from underscore format to space format (e.g., `SET_BOT_MEMORY` → `SET BOT MEMORY`) 4. Updating compiler and keyword registration to support the new space-based syntax 5. Adding new keyword modules (social media, lead scoring, templates, etc.) Refactor BASIC keywords to use spaces instead of underscores Change keyword syntax from underscore format (SET_BOT_MEMORY) to more natural space-separated format (SET BOT MEMORY) throughout the codebase. Key changes: - Update Rhai custom syntax registration to use space tokens - Simplify compiler preprocessing (fewer replacements needed) - Update all template .bas files to use new syntax - Expand documentation with consolidated examples and new sections - Add new keyword modules: social_media, lead_scoring, send_template, core_functions, qrcode, sms, procedures, import_export, llm_macros, on_form_submit
18 lines
622 B
QBasic
18 lines
622 B
QBasic
let resume1 = GET BOT MEMORY("resume")
|
|
let resume2 = GET BOT MEMORY("auxiliom")
|
|
let resume3 = GET BOT MEMORY("toolbix")
|
|
|
|
SET CONTEXT "general" AS resume1
|
|
SET CONTEXT "auxiliom" AS resume2
|
|
SET CONTEXT "toolbix" AS resume3
|
|
|
|
CLEAR SUGGESTIONS
|
|
|
|
ADD SUGGESTION "general" AS "Show me the weekly announcements"
|
|
ADD SUGGESTION "auxiliom" AS "Explain Auxiliom to me"
|
|
ADD SUGGESTION "auxiliom" AS "What does Auxiliom provide?"
|
|
ADD SUGGESTION "toolbix" AS "Show me Toolbix features"
|
|
ADD SUGGESTION "toolbix" AS "How can Toolbix help my business?"
|
|
|
|
TALK resume1
|
|
TALK "You can ask me about any of the announcements or circulars."
|