Show experimental engine onboarding for greeting macros

8c07dcda243718851aa5cf22095ef23eeeb23ae2

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -0Showing whitespace changes
public/script.js+1 -0
@@ -2735,6 +2735,7 @@ export function substituteParamsLegacy(content, _name1, _name2, _original, _grou
27352735 else if (/{{\s*[!?~#/]/.test(content)) feature = 'macro flags';
27362736 else if (/{{\s*[.$]/.test(content)) feature = 'variable shorthands';
27372737 else if (/\{\{(?:(?!\}\}).)*\{\{(?=[\s\S]*?\}\}[\s\S]*?\}\})/.test(content)) feature = 'nested macro';
2738+ else if (/{{(?:greeting|charFirstMessage)(?:::\d+)?}}/i.test(content)) feature = 'greeting macro';
27382739
27392740 if (feature) void onboardingExperimentalMacroEngine(feature);
27402741 }