summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/kami.txt5
-rw-r--r--npc/commands/wgm.txt5
2 files changed, 8 insertions, 2 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;
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;