From 3aeb85c2a3a1fd12acbe62b594038b4d089329c9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Mar 2019 21:44:24 -0300 Subject: "@@" on l() command have char limit, so fix bad lines in MotD management --- 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 70ff3b690..d63a3771a 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -92,7 +92,7 @@ function script MOTDConfig { input .@n; if ($MOTD_Messages$[.@n] != "") { clear; - mes l("line @@: @@", .@n, $MOTD_Messages$[.@n]); + mes l("line @@: "+$MOTD_Messages$[.@n], .@n); next; select menuimage("actions/back", l("Modify another line")), @@ -123,7 +123,7 @@ function script MOTDConfig { mes "---"; .@size = getvariableofnpc(.size, "@motd"); for (.@i = 0; .@i < .@size; ++.@i) { - mes l("line @@: @@", .@i, $MOTD_Messages$[.@i]); + mes l("line @@: "+$MOTD_Messages$[.@i], .@i); } if (.@size == 0) { mes "(" + l("no active MOTD") + ")"; -- cgit v1.2.3-60-g2f50