summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2016-11-30 15:45:22 -0500
committergumi <mekolat@users.noreply.github.com>2016-12-03 11:53:10 -0500
commit110903fe80d5350fe65fc1a062240c1c1b3172ce (patch)
tree8c1da9ac9a9d03570105fb9a7b38e3bee593c9ae /npc/commands
parent8418a0470400c2ca7a2240ead667db92b447767a (diff)
downloadserverdata-110903fe80d5350fe65fc1a062240c1c1b3172ce.tar.gz
serverdata-110903fe80d5350fe65fc1a062240c1c1b3172ce.tar.bz2
serverdata-110903fe80d5350fe65fc1a062240c1c1b3172ce.tar.xz
serverdata-110903fe80d5350fe65fc1a062240c1c1b3172ce.zip
send debug motd before generic motd
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/motd.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt
index ae12a010..5813b53c 100644
--- a/npc/commands/motd.txt
+++ b/npc/commands/motd.txt
@@ -2,12 +2,6 @@ function script displayMOTD {
.@size = getvariableofnpc(.size, "@motd");
.@dsize = getvariableofnpc(.dsize, "@motd");
- // generic MOTD
- for (.@i = 0; .@i < .@size; ++.@i)
- {
- dispbottom $MOTD_Messages$[.@i];
- }
-
// git stuff and such
if (debug)
{
@@ -15,7 +9,15 @@ function script displayMOTD {
{
dispbottom $Debug_Messages$[.@i]; // FIXME: send this to the Debug tab instead
}
+ dispbottom "---";
}
+
+ // generic MOTD
+ for (.@i = 0; .@i < .@size; ++.@i)
+ {
+ dispbottom $MOTD_Messages$[.@i];
+ }
+
return;
}