From 921f100af87307c830d2736f801c6b7ed29aa4ad Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Jun 2018 17:19:21 -0300 Subject: Introducing @k, which will broadcast to #world too --- npc/commands/kami.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 npc/commands/kami.txt (limited to 'npc/commands/kami.txt') 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; +} -- cgit v1.2.3-70-g09d2