From 1f386add4d1f1b3ee082f657ba9884323bfaab57 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 7 May 2020 23:07:39 -0300 Subject: Debug --- npc/014-4/kamelot.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'npc/014-4') diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt index 94040363f..0ec8a026d 100644 --- a/npc/014-4/kamelot.txt +++ b/npc/014-4/kamelot.txt @@ -114,7 +114,7 @@ OnTouch: // Debug is only allowed if server is in override mode OnDebug: - if (!$@GM_OVERRIDE) end; + if (!$@GM_OVERRIDE) goto L_SimplifiedDebug; .@g=getcharid(2); if (.@g < 1) end; mes "Kamelot Debug"; @@ -210,6 +210,18 @@ OnDebug: } close; +L_SimplifiedDebug: + mesc "THIS IS FOR JESUSALVA DEBUG ONLY - DO NOT USE NORMALLY", 1; + mes "Guild ID:"; + input .@gid; + if (.@gid < 1 || .@gid > 100) + close; + $KAMELOT_COOLDOWN[.@gid] = 0; + KamelotCleanup(.@gid); + mesc "THE GUILD WAS WIPED FROM EXISTENCE.", 1; + mesc "Have a nice day! %%l", 3; + close; + OnInit: bindatcmd "kdebug", "#KamelotEnter::OnDebug", 99, 100, 1; end; -- cgit v1.2.3-60-g2f50