MOTD Limit Issue

BeaverMon

Newbie
Joined
Dec 11, 2004
Messages
673
Reaction score
0
/me changes title to "MOTD(Message of The Day) Character Limit Issue" (if I could that is)
What is the # of max characters currently for motd.txt? This is a question I keep forgetting to ask. Need to know this.

This also affects mapname.txt files.
 
I use an iframe to allow scrolling on the motd. Just thought I'd go ahead and mention that, could help you out. :)

As for the limit, I have no idea. :o
 
How do I set it up to use an IFRAME? I only know basic HTML.
 
Here is what my motd file basically has.

<iframe src="http://somesite.com/cssmotd.htm" scrolling="auto"></iframe>

If you plan to use the code, it's best to have the motd hosted somewhere for the inline frame (iframe) to read from, just so you know.
 
I searched in Google. No results for cssmotd.htm. :(
I guess you mean "hosted", is going on a REAL server; instead of "my bot server".
 
Hosted as in say a web host. You could easily have it (the motd html file) hosted almost anywhere really.
You may be able to host the motd.htm file from the main server directory, I've never tried it, so I wouldn't know.

The only reason I used cssmotd.htm was because that's the file name I use, you could really name it anything with an html extension.

I'd be willing to allow you to toss it onto my host if you'd like, completely your decision though. I'll be on AIM and MSN if you'd like me to.
 
I understand that, lol. Ok, I'll explain it all, here goes.
The motd.txt file contains the iframe, the iframe will then read from the src (source) when loaded in-game, but it'll only work right if the motd file that the iframe that it's trying to read from is an html file.

If you want to see an example, I can link you to my motd file.

EDIT: Here's the link to my motd file -> http://www.drkstudios.com/cssmotd.htm
 
Ok, let me get this straight;
1. Upload motd.txt file, then rename it as motd.htm
2. Add that IFRAME thing to the "offline" motd, and set it to point it to motd.htm.
3. Launch server. It will load motd.htm

Right?
 
Where do I add the IFRAME line in motd.txt?
This is my current motd.txt;
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"[URL="http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"]http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd[/URL]">
<html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
pre {
font-family:Verdana,Tahoma;
color:#FFB000;
	 }
body {
background:#000000;
margin-left:8px;
margin-top:0px;
}
a {
	 text-decoration:	underline;
}
a:link {
	color: #FFFFFF;
	}
a:visited {
	color: #FFFFFF;
	}
a:active	{
	color: #FFFFFF;
	}
a:hover {
	color: #FFFFFF;
	text-decoration:	underline;
	}
</style>
</head>
<body scroll="yes">
<pre>
MOTD Message Here
</pre>
</body>
</html>
 
You can add it right between the pre tags, or you could remove the pre tags & place the iframe there, either will do the same thing. :D
 
Back
Top