summaryrefslogtreecommitdiff
path: root/npc/commands/kami.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-25 19:12:39 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-25 19:12:39 -0200
commit9cc240de7886142b5b1712bd24c14ca24859c989 (patch)
tree5b187f330dad272156418f1c5947401df5a64f76 /npc/commands/kami.txt
parented7bf7a95b43884a980b892f08ce788c624e5d3e (diff)
downloadserverdata-9cc240de7886142b5b1712bd24c14ca24859c989.tar.gz
serverdata-9cc240de7886142b5b1712bd24c14ca24859c989.tar.bz2
serverdata-9cc240de7886142b5b1712bd24c14ca24859c989.tar.xz
serverdata-9cc240de7886142b5b1712bd24c14ca24859c989.zip
Next test
Diffstat (limited to 'npc/commands/kami.txt')
-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: