summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/kami.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt
index cec938802..02bbc793b 100644
--- a/npc/commands/kami.txt
+++ b/npc/commands/kami.txt
@@ -19,7 +19,13 @@ OnCall:
OnServMsg:
.@request$ = strcharinfo(0)+": ";
.@request$ += implode(.@atcmd_parameters$, " ");
- servicemessage(.@request$, 0);
+ if (!channelmes("General", "Test"))
+ channelmes("#General", "Test")
+
+ .@c = getunits(BL_PC, .@players, 20);
+ for (.@i = 0; .@i < .@c; .@i++) {
+ message(.@players[.@i], .@request$);
+ }
end;
OnInit: