summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/superdebug.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-06-11 11:13:11 -0400
committermekolat <mekolat@users.noreply.github.com>2016-03-30 11:22:47 -0400
commitbc4deaf81d9701261baac6a10d762b0f40e7f65f (patch)
treee539e3a49756626e27d4491fccb7a6862b12a120 /world/map/npc/functions/superdebug.txt
parent9e7f46ac732851c1359a15837c82ebf67ea2be39 (diff)
downloadserverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.tar.gz
serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.tar.bz2
serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.tar.xz
serverdata-bc4deaf81d9701261baac6a10d762b0f40e7f65f.zip
initial commit for magic v3
Fix Druid Tree and add hug to TMW
Diffstat (limited to 'world/map/npc/functions/superdebug.txt')
-rw-r--r--world/map/npc/functions/superdebug.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/world/map/npc/functions/superdebug.txt b/world/map/npc/functions/superdebug.txt
index 5654dd4c..140e703a 100644
--- a/world/map/npc/functions/superdebug.txt
+++ b/world/map/npc/functions/superdebug.txt
@@ -34,32 +34,36 @@ L_Holiday:
L_XmasDebug:
gmlog strcharinfo(0) + " accessed the Xmas debug.";
callfunc "XmasDebug";
- end;
+ goto L_Close;
L_HalloweenDebug:
gmlog strcharinfo(0) + " accessed the Halloween debug.";
callfunc "HalloweenDebug";
- end;
+ goto L_Close;
L_Event:
if(getgmlevel() < 60) goto L_GM;
gmlog strcharinfo(0) + " accessed the GM event debug.";
callfunc "GmDebug";
- close;
+ goto L_Close;
L_StoneBoard:
if (getgmlevel() < 30) goto L_GM;
callfunc "SBConfig";
- close;
+ goto L_Close;
L_MOTD:
if (getgmlevel() < 40) goto L_GM;
callfunc "MOTDConfig";
- close;
+ goto L_Close;
L_GM:
mes "[Numa]";
mes "I'm awfully sorry.";
mes "You do not have the required GM level to perform this action.";
- close;
+ goto L_Close;
+
+L_Close:
+ close2; // FIXME: replace with npc action 5
+ return;
}