summaryrefslogtreecommitdiff
path: root/npc/commands/kami.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-01 17:19:21 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-01 17:19:21 -0300
commit921f100af87307c830d2736f801c6b7ed29aa4ad (patch)
tree478b12146c44d3281c80756e7fdc9c7407780be5 /npc/commands/kami.txt
parentb066c953084c6e624322db928db3b671a9478099 (diff)
downloadserverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.tar.gz
serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.tar.bz2
serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.tar.xz
serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.zip
Introducing @k, which will broadcast to #world too
Diffstat (limited to 'npc/commands/kami.txt')
-rw-r--r--npc/commands/kami.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt
new file mode 100644
index 000000000..4204ae5fe
--- /dev/null
+++ b/npc/commands/kami.txt
@@ -0,0 +1,26 @@
+// TMW2 Script
+//
+// @k atcommand
+// Broadcast, and broadcast to #world too
+//
+// group lv: 0
+// group char lv: 0
+// log: True
+//
+// usage:
+// @wgm Help
+//
+
+- script @k 32767,{
+ end;
+
+OnCall:
+ .@request$ = strcharinfo(0)+": "+.@atcmd_parameters$[0];
+ channelmes("#world", .@request$);
+ announce l(.@request$), bc_all|bc_npc;
+ end;
+
+
+OnInit:
+ bindatcmd "k", "@k::OnCall", 80, 80, 1;
+}