summaryrefslogtreecommitdiff
path: root/world/map/npc/commands/numa.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/commands/numa.txt')
-rw-r--r--world/map/npc/commands/numa.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/commands/numa.txt b/world/map/npc/commands/numa.txt
index 4184743b..e8e8cabd 100644
--- a/world/map/npc/commands/numa.txt
+++ b/world/map/npc/commands/numa.txt
@@ -3,14 +3,14 @@
-|script|SuperDebug|32767
{
- if (GM < get(.lounge, "GM") && GM < G_SYSOP && !debug) goto L_GM2; // make sure you can enter the gm lounge
+ if (GM < MAP_LOUNGE && GM < G_SYSOP && !debug) goto L_GM2; // make sure you can enter the gm lounge
if (target(BL_ID,getnpcid("Numa"),1)) goto L_Main;
npcaction 6, 12;
title "Numa";
goto L_Main;
L_GM2:
- message strcharinfo(0), "numa : GM command is level "+ get(.lounge, "GM") +", but you are level " + GM;
+ message strcharinfo(0), "numa : GM command is level "+ MAP_LOUNGE +", but you are level " + GM;
end;
L_Main:
@@ -36,7 +36,7 @@ L_WhoAmI:
goto L_Main;
L_Holiday:
- if (GM < get(.holiday, "GM") && GM < G_SYSOP) goto L_GM;
+ if (GM < DBG_HOLIDAY && GM < G_SYSOP) goto L_GM;
mes "What holiday do you want to debug?";
next;
menu
@@ -60,18 +60,18 @@ L_EasterDebug:
goto L_Close;
L_Event:
- if (GM < get(.event, "GM") && GM < G_EVENT) goto L_GM;
+ if (GM < EVT_DEBUG && GM < G_EVENT) goto L_GM;
gmlog strcharinfo(0) + " accessed the GM event debug.";
callfunc "GmDebug";
goto L_Close;
L_StoneBoard:
- if (GM < get(.scheduled, "GM") && GM < G_SYSOP) goto L_GM;
+ if (GM < DBG_SCHEDULED && GM < G_SYSOP) goto L_GM;
callfunc "SBConfig";
goto L_Close;
L_MOTD:
- if (GM < get(.motd, "GM") && GM < G_SYSOP) goto L_GM;
+ if (GM < DBG_MOTD && GM < G_SYSOP) goto L_GM;
callfunc "MOTDConfig";
goto L_Close;