You have to escape curlybrackets, see Tip: Escaping curly brackets for substitutions in ActionScript
Or, change the script type from Action Script to PowerShell (which you can’t do in the Debugger), and use just direct PowerShell I’m the action (no Relevance substitutions though)