diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-12 08:57:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-12 08:57:06 -0300 |
commit | 07403f5af4a0be125fddbe1dc40330d043309812 (patch) | |
tree | fbec8f49b49cdc75f0a6f7516e263cb660ed0ef8 /npc/commands/motd.txt | |
parent | 69df270c8e5ae5ef86c7ebd1db6dfbf7ff26ab9d (diff) | |
download | serverdata-07403f5af4a0be125fddbe1dc40330d043309812.tar.gz serverdata-07403f5af4a0be125fddbe1dc40330d043309812.tar.bz2 serverdata-07403f5af4a0be125fddbe1dc40330d043309812.tar.xz serverdata-07403f5af4a0be125fddbe1dc40330d043309812.zip |
Deprecation concerning "debug" constant (I have new plans for it)
Diffstat (limited to 'npc/commands/motd.txt')
-rw-r--r-- | npc/commands/motd.txt | 15 |
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; } |