2010-12-25 13:27:38 +01:00
|
|
|
{
|
|
|
|
"name" : "echo",
|
|
|
|
|
|
|
|
"info" : {
|
|
|
|
"syntax" : "echo [text]",
|
|
|
|
"brief" : "Display a line of text",
|
|
|
|
},
|
|
|
|
|
|
|
|
"action" : function ( arg )
|
|
|
|
{
|
|
|
|
var out = arg + "<br/>\n";
|
2011-01-07 11:42:38 +01:00
|
|
|
out = out.replace ( /(^|[^\\])"/g, '$1' );
|
|
|
|
out = out.replace ( /(^|[^\\])'/g, '$1' );
|
|
|
|
out = out.replace ( /\\"/g, '"' );
|
|
|
|
out = out.replace ( /\\'/g, "'" );
|
2010-12-25 13:27:38 +01:00
|
|
|
return out;
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|