summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-13 20:15:36 +0000
committerAndrei Karas <akaras@inbox.ru>2016-10-13 20:15:36 +0000
commit11cddd5406598111becbb2df4f78d7db09be20c8 (patch)
treeea19737738b0351adb203fa77dbbba05221f04c4 /npc
parentfaec2e2164f6df535dea7b1a6e941ec4fb7e45a2 (diff)
parente1c5c4d938f6a734b44c7db1266da2eae8ba4197 (diff)
downloadserverdata-11cddd5406598111becbb2df4f78d7db09be20c8.tar.gz
serverdata-11cddd5406598111becbb2df4f78d7db09be20c8.tar.bz2
serverdata-11cddd5406598111becbb2df4f78d7db09be20c8.tar.xz
serverdata-11cddd5406598111becbb2df4f78d7db09be20c8.zip
Merge branch 'motd-in-config' into 'master'
Add MOTD to configs See merge request !46
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/motd.txt2
-rw-r--r--npc/scripts.conf2
2 files changed, 4 insertions, 0 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt
index ff3e6b49..cea01544 100644
--- a/npc/commands/motd.txt
+++ b/npc/commands/motd.txt
@@ -177,6 +177,8 @@ OnPCLoginEvent:
end;
OnInit:
+ MOTD_text;
+ MOTD_debug_text;
.size = getarraysize($MOTD_Messages$);
.dsize = getarraysize($Debug_Messages$);
bindatcmd "motd", "@motd::OnCall", 3, 99, 0;
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 1e8239b8..ef4c18e2 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -74,6 +74,8 @@
"npc/commands/music.txt",
"npc/commands/warp.txt",
"npc/commands/zeny.txt",
+"npc/commands/motd-debug-text.txt",
+"npc/commands/motd-text.txt",
"npc/commands/motd.txt",
"npc/commands/scheduled-broadcasts.txt",
"npc/commands/event.txt",