From 9cc240de7886142b5b1712bd24c14ca24859c989 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 25 Jan 2019 19:12:39 -0200 Subject: Next test --- npc/commands/kami.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'npc/commands') 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: -- cgit v1.2.3-60-g2f50