From 8c07dcda243718851aa5cf22095ef23eeeb23ae2 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 7 Mar 2026 17:52:00 +0200 Subject: [PATCH] Show experimental engine onboarding for greeting macros --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index f373ebe16..00011f6cf 100644 --- a/public/script.js +++ b/public/script.js @@ -2735,6 +2735,7 @@ export function substituteParamsLegacy(content, _name1, _name2, _original, _grou else if (/{{\s*[!?~#/]/.test(content)) feature = 'macro flags'; else if (/{{\s*[.$]/.test(content)) feature = 'variable shorthands'; else if (/\{\{(?:(?!\}\}).)*\{\{(?=[\s\S]*?\}\}[\s\S]*?\}\})/.test(content)) feature = 'nested macro'; + else if (/{{(?:greeting|charFirstMessage)(?:::\d+)?}}/i.test(content)) feature = 'greeting macro'; if (feature) void onboardingExperimentalMacroEngine(feature); }