AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Custom MOTD (https://forums.alliedmods.net/showthread.php?t=156104)

fLaXXiE 05-01-2011 02:49

[Help] Custom MOTD
 
I have this problem that when i in an MOTD try to scroll down it will not work!
here is my code:
Quote:

<html>
<head>
<meta http-equiv="refresh" content="0;url=http://freeborngaming.webs.com/rules.htm">
</head>
<body>
<body scroll="yes">
Loading website...
</body>
</html>
Can someone help me?

fysiks 05-01-2011 03:07

Re: [Help] Custom MOTD
 
You have to remove the DOCTYPE declaration on the webpage.

fLaXXiE 05-01-2011 03:08

Re: [Help] Custom MOTD
 
Where can i remove DOCTYPE?

fysiks 05-01-2011 03:12

Re: [Help] Custom MOTD
 
It's this:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
But, I'm guessing that you don't have control over that webpage (free hosting with advertising) so you are probably not going to be able to remove it.

fLaXXiE 05-01-2011 03:17

Re: [Help] Custom MOTD
 
You have a place where there is not advertsing?
- and free hosting.

fysiks 05-01-2011 03:21

Re: [Help] Custom MOTD
 
Quote:

Originally Posted by fLaXXiE (Post 1461165)
You have a place where there is not advertsing?
- and free hosting.

Yeah, on your server. Just put it in motd.txt.

fLaXXiE 05-01-2011 03:23

Re: [Help] Custom MOTD
 
Well if there is too much in HTML i will get kicked: Overflow.

fysiks 05-01-2011 03:26

Re: [Help] Custom MOTD
 
Quote:

Originally Posted by fLaXXiE (Post 1461170)
Well if there is too much in HTML i will get kicked: Overflow.

Oh yeah. Forgot.

fLaXXiE 05-01-2011 03:27

Re: [Help] Custom MOTD
 
But where is this located?
Quote:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

avril-lavigne 05-01-2011 07:01

Re: [Help] Custom MOTD
 
this should be the first string in motd.txt


All times are GMT -4. The time now is 04:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.