summaryrefslogtreecommitdiff
path: root/npc/commands/motd.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/motd.txt')
-rw-r--r--npc/commands/motd.txt15
1 files changed, 1 insertions, 14 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt
index dfd3f7242..b150b798e 100644
--- a/npc/commands/motd.txt
+++ b/npc/commands/motd.txt
@@ -1,17 +1,6 @@
// TMW2 Script
function script displayMOTD {
.@size = getvariableofnpc(.size, "@motd");
- .@dsize = getvariableofnpc(.dsize, "@motd");
-
- // git stuff and such
- if (debug) {
- for (.@i = 0; .@i < .@dsize; ++.@i) {
- dispbottom $@Debug_Messages$[.@i]; // FIXME: send this to the Debug tab instead
- }
-
- if (.@dsize > 0)
- dispbottom "---";
- }
// generic MOTD
for (.@i = 0; .@i < .@size; ++.@i) {
@@ -181,9 +170,7 @@ OnInit:
.login_ref=gettime(5);
.daylength=(60*60*24);
*/
- MOTD_debug_text;
.size = getarraysize($MOTD_Messages$);
- .dsize = getarraysize($@Debug_Messages$);
bindatcmd "motd", "@motd::OnCall", 99, 99, 1;
}
@@ -201,7 +188,7 @@ function script MOTDHandler {
if (!$MOTD_Disabled)
displayMOTD;
if (debug)
- dispbottom "##7<<##B @@help://test-server|" + col(l("Click here for instructions on how to use the test server."),6) + "@@ ##7>>";
+ dispbottom "##7<<##B @@help://test-server|" + col(l("This is the test server."),6) + "@@ ##7>>";
return;
}