summaryrefslogtreecommitdiff
path: root/npc/commands/kami.txt
blob: c07190796c72ca004870484e64ac68ebf5f29d47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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)+": ";
	for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
		.@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
	}
    channelmes("#world", .@request$);
    announce l(.@request$), bc_all|bc_npc;
    end;


OnInit:
    bindatcmd "k", "@k::OnCall", 80, 80, 1;
}