Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

motd not appearing if lines aren't populated in order

- - - - -

  • Please log in to reply
3 replies to this topic

#1
OFFLINE   ETsneak

ETsneak

    Regular Member

  • Members
  • PipPipPip
  • 106 posts
19
On a distinguished road

This would output a working MOTD:

set server_motd0 "^7test blabla"
set server_motd1 "^7stuff"
set server_motd2 "^7aguhsdgshb"
set server_motd3 ""
set server_motd4 ""
set server_motd5 ""

Skipping lines in MOTD makes entire MOTD go blank when connecting to server:

set server_motd0 "^7test blabla"
set server_motd1 ""
set server_motd2 ""
set server_motd3 "^7stuff"
set server_motd4 "^7aguhsdgshb"
set server_motd5 ""


#2
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

I think this has been the case a long time, and the usual way of dealing with it is putting spaces in the first couple.



#3
OFFLINE   Aciz

Aciz

    Member

  • Members
  • PipPip
  • 38 posts
7
A step in the right direction

Yes, you need to put a space on an empty line.



#4
OFFLINE   ETsneak

ETsneak

    Regular Member

  • Members
  • PipPipPip
  • 106 posts
19
On a distinguished road

Being a bug for a long time doesn't stop it from being a bug.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users