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); }