Show experimental engine onboarding for greeting macros
| @@ -2735,6 +2735,7 @@ export function substituteParamsLegacy(content, _name1, _name2, _original, _grou | ||
| 2735 | 2735 | else if (/{{\s*[!?~#/]/.test(content)) feature = 'macro flags'; |
| 2736 | 2736 | else if (/{{\s*[.$]/.test(content)) feature = 'variable shorthands'; |
| 2737 | 2737 | else if (/\{\{(?:(?!\}\}).)*\{\{(?=[\s\S]*?\}\}[\s\S]*?\}\})/.test(content)) feature = 'nested macro'; |
| 2738 | + else if (/{{(?:greeting|charFirstMessage)(?:::\d+)?}}/i.test(content)) feature = 'greeting macro'; | |
| 2738 | 2739 | |
| 2739 | 2740 | if (feature) void onboardingExperimentalMacroEngine(feature); |
| 2740 | 2741 | } |