summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/kami.txt4
-rw-r--r--npc/commands/wgm.txt4
2 files changed, 2 insertions, 6 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt
index c07190796..4cb8964a9 100644
--- a/npc/commands/kami.txt
+++ b/npc/commands/kami.txt
@@ -16,9 +16,7 @@
OnCall:
.@request$ = strcharinfo(0)+": ";
- for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
- .@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
- }
+ .@request$ += implode(.@atcmd_parameters$, " ");
channelmes("#world", .@request$);
announce l(.@request$), bc_all|bc_npc;
end;
diff --git a/npc/commands/wgm.txt b/npc/commands/wgm.txt
index d24841546..cbaa95b86 100644
--- a/npc/commands/wgm.txt
+++ b/npc/commands/wgm.txt
@@ -14,9 +14,7 @@
OnCall:
.@request$ = strcharinfo(0)+": ";
- for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
- .@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
- }
+ .@request$ += implode(.@atcmd_parameters$, " ");
atcommand("@request "+.@request$);
end;