diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-12-13 12:24:26 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-12-13 12:24:26 -0500 |
commit | b4935b2f81ff9e8903dd89228ff97fc03b584c73 (patch) | |
tree | 6d50a9e7d30f952f0d7e49a2ffdd2280e191d768 /npc | |
parent | 7425036bc37857e6bfc6a6530e05bd3df94c88f4 (diff) | |
download | serverdata-b4935b2f81ff9e8903dd89228ff97fc03b584c73.tar.gz serverdata-b4935b2f81ff9e8903dd89228ff97fc03b584c73.tar.bz2 serverdata-b4935b2f81ff9e8903dd89228ff97fc03b584c73.tar.xz serverdata-b4935b2f81ff9e8903dd89228ff97fc03b584c73.zip |
remove motd-text, make debug motd use a temp global var
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/motd.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |