From 177cf3ede0155d7d93ce11cf7e68297a001788ac Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Sat, 1 Oct 2022 19:42:09 +0200 Subject: [PATCH] :tada: drw command --- src/command/drw.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/command/drw.js b/src/command/drw.js index fd4dd61..418a120 100644 --- a/src/command/drw.js +++ b/src/command/drw.js @@ -14,6 +14,15 @@ Juicescript.command_define({ }, execute: function(runner){ + // CONCATENATE ALL ARGUMENTS // + let string = ""; + for(var q = 1; q <= runner.command.argument.length; q++){ + // append to string + string += runner.argument_value(q).toString(); + } + + // PRINT TO STDOUT // + runner.io.stdout(string); } });