summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-16 13:12:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-16 13:12:44 -0300
commit58eae4877b014135fb5d0fc7ca858f083d1e68b3 (patch)
tree73369dcdbb8fde6561d0d2d03ed8a952715e5802
parentdfe577c3c6d12e3e8a2a76368716e1928bda24a9 (diff)
downloadserverdata-58eae4877b014135fb5d0fc7ca858f083d1e68b3.tar.gz
serverdata-58eae4877b014135fb5d0fc7ca858f083d1e68b3.tar.bz2
serverdata-58eae4877b014135fb5d0fc7ca858f083d1e68b3.tar.xz
serverdata-58eae4877b014135fb5d0fc7ca858f083d1e68b3.zip
Debug script code, it'll eventually override 003-1/events.txt etc.
-rw-r--r--npc/commands/kami.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt
index 12cf0ee11..e2e0eb395 100644
--- a/npc/commands/kami.txt
+++ b/npc/commands/kami.txt
@@ -67,11 +67,26 @@ OnPurify:
}
end;
+OnChamp:
+ setnpcdialogtitle l("Aurora Events")+" - "+$EVENT$;
+ setskin "aurora_"+$EVENT$;
+ mes "Please keep your ManaPlus updated.";
+ //mes "This is a debug message. Your manaplus version is wrong.";
+ //mes "You should not be reading this. I'll call you a cheater.";
+ //mes "I hope you report this (if a bug). Reading source code?";
+ //mes "4144 will hear about this. You are NOT amazing by the way.";
+ select("Ok");
+ setskin "";
+ closeclientdialog;
+ end;
+
OnInit:
bindatcmd "k", "@k::OnCall", 60, 80, 1;
bindatcmd "servmsg", "@k::OnServMsg", 80, 99, 1;
bindatcmd "blessing", "@k::OnBuff", 99, 100, 1;
+ bindatcmd "champ", "@k::OnChamp", 99, 100, 0;
+
bindatcmd "instcheck", "@k::OnInstCheck", 99, 100, 1;
bindatcmd "instdestr", "@k::OnInstDestroy", 99, 100, 1;
bindatcmd "burnlivio", "@k::OnPurify", 99, 100, 1;