summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-25 19:14:44 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-25 19:14:44 -0200
commit73ff77bb75f50624224bfa7813548b338bdd9738 (patch)
tree972feef8ff3ceb1711d58dcfdcab293fab5284eb /npc/commands
parent3a40c2d22e01003b53ec78ac389333f17ae8498c (diff)
downloadserverdata-73ff77bb75f50624224bfa7813548b338bdd9738.tar.gz
serverdata-73ff77bb75f50624224bfa7813548b338bdd9738.tar.bz2
serverdata-73ff77bb75f50624224bfa7813548b338bdd9738.tar.xz
serverdata-73ff77bb75f50624224bfa7813548b338bdd9738.zip
@servmsg now works
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/kami.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt
index 856f09f4c..0152c98f2 100644
--- a/npc/commands/kami.txt
+++ b/npc/commands/kami.txt
@@ -19,9 +19,7 @@ OnCall:
OnServMsg:
.@request$ = strcharinfo(0)+": ";
.@request$ += implode(.@atcmd_parameters$, " ");
- if (!channelmes("General", "Test"))
- channelmes("#General", "Test");
-
+ // This can be slow, beware
.@c = getunits(BL_PC, .@players, 20);
for (.@i = 0; .@i < .@c; .@i++) {
message(.@players[.@i], .@request$);