diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-12-13 12:03:03 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-12-13 12:03:03 -0500 |
commit | 7425036bc37857e6bfc6a6530e05bd3df94c88f4 (patch) | |
tree | b0a7d655f0c8d4a2323e89ae85070c39d0368e27 | |
parent | 81b7ab8e96599bfd4d732dcb9c9c762b675c120e (diff) | |
download | serverdata-7425036bc37857e6bfc6a6530e05bd3df94c88f4.tar.gz serverdata-7425036bc37857e6bfc6a6530e05bd3df94c88f4.tar.bz2 serverdata-7425036bc37857e6bfc6a6530e05bd3df94c88f4.tar.xz serverdata-7425036bc37857e6bfc6a6530e05bd3df94c88f4.zip |
only show debug motd separator when there is debug motd messages
-rw-r--r-- | npc/commands/motd.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt index 5813b53c..f6a0369a 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -9,7 +9,9 @@ function script displayMOTD { { dispbottom $Debug_Messages$[.@i]; // FIXME: send this to the Debug tab instead } - dispbottom "---"; + + if (.@dsize > 0) + dispbottom "---"; } // generic MOTD |