diff options
Diffstat (limited to 'npc/commands/kami.txt')
-rw-r--r-- | npc/commands/kami.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt index fa17bc442..a9ff6656d 100644 --- a/npc/commands/kami.txt +++ b/npc/commands/kami.txt @@ -30,3 +30,46 @@ OnInit: bindatcmd "k", "@k::OnCall", 80, 80, 1; bindatcmd "servmsg", "@k::OnServMsg", 99, 99, 1; } + +// kamibroadcast( message{, sender} ) +function script kamibroadcast { + .@msg$=getarg(0); + .@snd$=getarg(1, ""); + + // Send to #world + if (.@snd$ == "") + channelmes("#world", .@msg$); + else + channelmes("#world", "[ "+.@snd$+" ] : "+.@msg$); + + // Make an announce + if (.@snd$ == "") + announce .@msg$, bc_all|bc_npc; + else + announce .@snd$+": "+.@msg$, bc_all|bc_npc; + + return; +} + +// Required for GM use in 2019-04-27 +- script @mkdbg 32767,{ + end; +OnMsg1to2: + detachrid(); + // Game Story Change: Idle MK -> Active MK + kamibroadcast("I can't handle it anymore! NO MORE!", "Monster King"); + sleep(2500); + kamibroadcast("Come, my minions! Lay siege to towns! LEAVE NO OPPOSITION TO ME!", "Monster King"); + sleep(2500); + kamibroadcast("Burn, destroy, do whatever you need, until your last breath, my lieutenants and colonels!", "Monster King"); + sleep(2500); + kamibroadcast("##4 .:: Game Story Instructions on #world ::."); + channelmes("#world", "##1 **GAME STORY CHANGE** - The Monster King minions will now attack cities and lay waste to them."); + channelmes("#world", "##1 Players must defeat the lieutenants and colonels in order to prevent sieges from continuing."); + end; + +OnInit: + bindatcmd "mkdbgjesus", "@mkdbg::OnMsg1to2", 99, 100, 0; + end; +} + |