summaryrefslogtreecommitdiff
path: root/npc/commands/wgm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/wgm.txt')
-rw-r--r--npc/commands/wgm.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/commands/wgm.txt b/npc/commands/wgm.txt
index dbb46eca4..d24841546 100644
--- a/npc/commands/wgm.txt
+++ b/npc/commands/wgm.txt
@@ -13,7 +13,10 @@
end;
OnCall:
- .@request$ = .@atcmd_parameters$;
+ .@request$ = strcharinfo(0)+": ";
+ for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
+ .@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
+ }
atcommand("@request "+.@request$);
end;