From 7425036bc37857e6bfc6a6530e05bd3df94c88f4 Mon Sep 17 00:00:00 2001 From: gumi Date: Tue, 13 Dec 2016 12:03:03 -0500 Subject: only show debug motd separator when there is debug motd messages --- npc/commands/motd.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc') 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 -- cgit v1.2.3-70-g09d2