summaryrefslogtreecommitdiff
path: root/npc/commands/motd.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-17 21:44:24 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-17 21:44:24 -0300
commit3aeb85c2a3a1fd12acbe62b594038b4d089329c9 (patch)
treeb7d4ff5c8e77d32982f1beb4cc4038419caf7e85 /npc/commands/motd.txt
parent5d3f2c13a521ac76768c6dabe01f1789e8e5fc5a (diff)
downloadserverdata-3aeb85c2a3a1fd12acbe62b594038b4d089329c9.tar.gz
serverdata-3aeb85c2a3a1fd12acbe62b594038b4d089329c9.tar.bz2
serverdata-3aeb85c2a3a1fd12acbe62b594038b4d089329c9.tar.xz
serverdata-3aeb85c2a3a1fd12acbe62b594038b4d089329c9.zip
"@@" on l() command have char limit, so fix bad lines in MotD management
Diffstat (limited to 'npc/commands/motd.txt')
-rw-r--r--npc/commands/motd.txt4
1 files changed, 2 insertions, 2 deletions
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") + ")";