summaryrefslogtreecommitdiff
path: root/npc/commands/kami.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-02 22:04:52 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-02 22:04:52 -0300
commitd584b0430abbaeb743203fd753e457bb1034dc06 (patch)
tree22ab46bfadbf118ea0a8380ed22cb577b4b94b4c /npc/commands/kami.txt
parent87e1fd8b0b76cadbabd4cbcfe52a3b17c3f99978 (diff)
downloadserverdata-d584b0430abbaeb743203fd753e457bb1034dc06.tar.gz
serverdata-d584b0430abbaeb743203fd753e457bb1034dc06.tar.bz2
serverdata-d584b0430abbaeb743203fd753e457bb1034dc06.tar.xz
serverdata-d584b0430abbaeb743203fd753e457bb1034dc06.zip
Maybe this fix my split problem
Diffstat (limited to 'npc/commands/kami.txt')
-rw-r--r--npc/commands/kami.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt
index 4204ae5fe..c07190796 100644
--- a/npc/commands/kami.txt
+++ b/npc/commands/kami.txt
@@ -15,7 +15,10 @@
end;
OnCall:
- .@request$ = strcharinfo(0)+": "+.@atcmd_parameters$[0];
+ .@request$ = strcharinfo(0)+": ";
+ for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
+ .@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
+ }
channelmes("#world", .@request$);
announce l(.@request$), bc_all|bc_npc;
end;