summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/superdebug.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-12 07:23:10 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-12 07:23:10 -0400
commit1deaa280cb8e5252d0a01534bba5097d93c09064 (patch)
treecb0f6eb12f5d8434870a693f54e0bbca83c8f68d /world/map/npc/functions/superdebug.txt
parente0834f290b1225bc3090e3d43f18ec1047868cf9 (diff)
downloadserverdata-1deaa280cb8e5252d0a01534bba5097d93c09064.tar.gz
serverdata-1deaa280cb8e5252d0a01534bba5097d93c09064.tar.bz2
serverdata-1deaa280cb8e5252d0a01534bba5097d93c09064.tar.xz
serverdata-1deaa280cb8e5252d0a01534bba5097d93c09064.zip
add motd config
Diffstat (limited to 'world/map/npc/functions/superdebug.txt')
-rw-r--r--world/map/npc/functions/superdebug.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/world/map/npc/functions/superdebug.txt b/world/map/npc/functions/superdebug.txt
index 8bb9350a..6ca56b88 100644
--- a/world/map/npc/functions/superdebug.txt
+++ b/world/map/npc/functions/superdebug.txt
@@ -11,6 +11,7 @@ L_Main:
next;
menu
"Announcements", L_StoneBoard,
+ "MOTD", L_MOTD,
"Holiday debug", L_Holiday,
"Event debug", L_Event;
// todo: generic npcs (in a future PR)
@@ -44,6 +45,11 @@ L_StoneBoard:
callfunc "SBConfig";
close;
+L_MOTD:
+ if (getgmlevel() < 40) goto L_GM;
+ callfunc "MOTDConfig";
+ close;
+
L_GM:
mes "[Numa]";
mes "I'm awfully sorry.";