{ "name" : "echo", "info" : { "syntax" : "echo [text]", "brief" : "Display a line of text", }, "action" : function ( arg ) { var out = arg + "
\n"; out = out.replace ( /(^|[^\\])"/g, '$1' ); out = out.replace ( /(^|[^\\])'/g, '$1' ); out = out.replace ( /\\"/g, '"' ); out = out.replace ( /\\'/g, "'" ); return out; }, }