I'm reading the ChatSetAttr code and there is a "replacers" array that seems to be triggered by the argument "--replace". It looks like if you use that in your command line, the following replacements will be enacted on your value... replacers = [ [/</g, "["], [/\\lbrak/g, "["], [/>/g, "]"], [/\\rbrak/g, "]"], [/;/g, "?"], [/\\ques/g, "?"], [/`/g, "@"], [/\\at/g, "@"], [/~/g, "-"], [/\\n/g, "\n"], ] The two that could help you are the @ replacements... looks like either a tick or a \at construction will be recognized and changed: `{selected|...} => becomes => @{selected|...} \at{selected|...} => becomes => @{selected|...} Remember, that's only if you use the "--replace" arg in the line, too. Anyway, that's just a preliminary reading of the code, but give it a try. Maybe someone with more knowledge of the script can correct me if I'm wrong.