summaryrefslogtreecommitdiff
path: root/npc/commands/wgm.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-21 12:34:43 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-21 12:34:43 -0300
commit1e58ae86ede467ac84248720a89ed5005404a3ea (patch)
treeb4ba72297a073df35e8853680db8909c82fa5072 /npc/commands/wgm.txt
parentbf6ddd274a45b5fc5ae4074cb9fba16c6cef85fd (diff)
downloadserverdata-1e58ae86ede467ac84248720a89ed5005404a3ea.tar.gz
serverdata-1e58ae86ede467ac84248720a89ed5005404a3ea.tar.bz2
serverdata-1e58ae86ede467ac84248720a89ed5005404a3ea.tar.xz
serverdata-1e58ae86ede467ac84248720a89ed5005404a3ea.zip
Implode stuff
Diffstat (limited to 'npc/commands/wgm.txt')
-rw-r--r--npc/commands/wgm.txt4
1 files changed, 1 insertions, 3 deletions
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;