diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-12 16:37:08 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-04-12 19:21:46 -0400 |
commit | dc9c6ac482b353fe9a4b1e1628f691c487a517fc (patch) | |
tree | 655b6616766410e8880e8395298811beba8c742a /world/map/npc/commands/numa.txt | |
parent | d55ee9ec4a43cbc7d52619b6a473a4760bb9acdb (diff) | |
download | serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.tar.gz serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.tar.bz2 serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.tar.xz serverdata-dc9c6ac482b353fe9a4b1e1628f691c487a517fc.zip |
add default permissions
Diffstat (limited to 'world/map/npc/commands/numa.txt')
-rw-r--r-- | world/map/npc/commands/numa.txt | 12 |
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; |