From b4935b2f81ff9e8903dd89228ff97fc03b584c73 Mon Sep 17 00:00:00 2001 From: gumi Date: Tue, 13 Dec 2016 12:24:26 -0500 Subject: remove motd-text, make debug motd use a temp global var --- npc/commands/motd.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt index f6a0369a..98a63e87 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -7,7 +7,7 @@ function script displayMOTD { { for (.@i = 0; .@i < .@dsize; ++.@i) { - dispbottom $Debug_Messages$[.@i]; // FIXME: send this to the Debug tab instead + dispbottom $@Debug_Messages$[.@i]; // FIXME: send this to the Debug tab instead } if (.@dsize > 0) @@ -183,6 +183,6 @@ OnPCLoginEvent: OnInit: MOTD_debug_text; .size = getarraysize($MOTD_Messages$); - .dsize = getarraysize($Debug_Messages$); + .dsize = getarraysize($@Debug_Messages$); bindatcmd "motd", "@motd::OnCall", 3, 99, 0; } -- cgit v1.2.3-70-g09d2