diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-07 23:07:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-07 23:07:39 -0300 |
commit | 1f386add4d1f1b3ee082f657ba9884323bfaab57 (patch) | |
tree | 5ba650899c1b01e06d8a2cbdad7655e90afc585f /npc/014-4/kamelot.txt | |
parent | 537f27512dd10ca8252fa782ea8450be6cad9b0c (diff) | |
download | serverdata-1f386add4d1f1b3ee082f657ba9884323bfaab57.tar.gz serverdata-1f386add4d1f1b3ee082f657ba9884323bfaab57.tar.bz2 serverdata-1f386add4d1f1b3ee082f657ba9884323bfaab57.tar.xz serverdata-1f386add4d1f1b3ee082f657ba9884323bfaab57.zip |
Debug
Diffstat (limited to 'npc/014-4/kamelot.txt')
-rw-r--r-- | npc/014-4/kamelot.txt | 14 |
1 files changed, 13 insertions, 1 deletions
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; |