motd

Customise MOTD for your Counter Strike 1.6 server

Editing MOTD (Message of the Day) for your Counter Strike 1.6 server.

MOTD is the welcome message displayed when you connect your HLDS server.

For Example the Default MOTD in Counter Strike 1.6 is

You can replace the default motd with text or image in html format.

Source file motd.txt is located in cstrike folder

Text Motd

Open motd.txt (in cstrike folder) with text editor like notepad/wordpad.

Delete all text in that file and replace it with following code.

Replace “YOUR MESSAGE HERE” with your custom message in following code.

<html>
<head>
<title>YOUR TITLE</title>
<style type=”text/css”>
pre     {
font-family:Verdana,Tahoma;
color:#FFB000;
}
body    {
background:#000000;
margin-left:8px;
margin-top:0px;
}
</style></head>
<body scroll=”no”>
<pre>

“YOUR  MESSAGE HERE”

</pre>
</body>
</html>

Image Motd

To display Image as MOTD.

Open motd.txt (in cstrike folder) with text editor like notepad/wordpad.

Delete all text in that file and replace it with this code.

Replace YOUR IMAGE LINK in the following code with link of your image(for eg. http://www.noobstrike.com/images/stories/motd.jpg).

You can use any image from internet or use your own edited image and upload it to image hosting websites like imageshack, photobucket etc.

<html>
<head>
<title>YOUR TITLE</title>
<style type=”text/css”>
<!–
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #000000;
}
–>
</style>
</head>
<body>
<img src=”YOUR IMAGE LINK” width=”100%” height=”100%” border=”0″ align=”center”>
</body>
</html>

You can put text directly on your image with editors like Paint .

Open Webpage or Redirect

If you want to load a website instead of text/ image motd then copy the following code in motd.txt

<head>

<meta http-equiv=’refresh’ content=’0; url=http://www.noobstrike.com’>

</head>

Replace it with any link of your choice

Music

If you want to play background music in your MOTD then add the link to your audio file in the following code and paste it in motd.txt

<head>
<NOEMBED><BGSOUND src=”http://www. yourlink. com/audio.mp3″></NOEMBED>
</head>

If you are hosting server on LAN(Local Area Network) and do not have access to internet then you can install local server like Wamp/ Xampp and use your IP as links to files , For eg. http://192.168.0.1/image.jpg