What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Counter Strike: Source and the motd.txt

Pages: (2): « First [ 1 ] 2 » Last »
Counter Strike: Source and the motd.txt
Author: Message:
Reaper
Veteran Member
*****

Avatar

Posts: 1393
Reputation: 23
36 / Male / Flag
Joined: Jun 2004
O.P. Counter Strike: Source and the motd.txt
Im editing the motd.txt file so i can have some fancy stuff to show people when the join the server. but im having a few problems. the file is all done in html and im not an rxpert on it. i only managed to change a few things.
1) The one thing i want to change is the alignment of the text. at the moment is on the left, i want it in the centre
2) I want larger text
3) I want to be able to "scroll" using the scroll bar
[Edit] 4) I want to chane the font type

heres is a copy of motd.txt (sorry is this is too long, and its also attached):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<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>
Welcome To The Sanctuary
Respect all admins please
Enjoy Your Stay
<img src="http://debianusers.org/albums/album02/Sanctuary.sized.jpg" />
</pre>
</body>
</html>

.txt File Attachment: motd.txt (798 bytes)
This file has been downloaded 5519 time(s).

This post was edited on 06-07-2005 at 03:33 PM by Reaper.
06-07-2005 02:53 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Counter Strike: Source and the motd.txt
code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
div{
text-align: center;
}
pre {
font-family: Verdana;  **Change the Font here**
font-size: 14pt; **Change the size here**
color:#FFB000;
     }
body {
background:#000000;
margin-left:8px;
margin-top:0px;
overflow: scroll;
}
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>
<div>
<pre>
Welcome To The Sanctuary
Respect all admins please
Enjoy Your Stay
<img src="http://debianusers.org/albums/album02/Sanctuary.sized.jpg" />
</pre>
</div>
</body>
</html>


That should do it :d

P.S: after changing the font and size remove the text behind it  :-D

EDIT: That image is slow :o

This post was edited on 06-07-2005 at 04:09 PM by Ezra.
[Image: 1-0.png]
             
06-07-2005 04:04 PM
Profile PM Web Find Quote Report
Reaper
Veteran Member
*****

Avatar

Posts: 1393
Reputation: 23
36 / Male / Flag
Joined: Jun 2004
O.P. RE: Counter Strike: Source and the motd.txt
thanx :D but jus for clarification where you've written change font here do i delete that and write the font oor do i change the Verdana bit?
06-07-2005 04:06 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Counter Strike: Source and the motd.txt
You change Verdana and the 14pt, to whatever you like, and remove the text behind it, cause it won't work if you don't remove it.
[Image: 1-0.png]
             
06-07-2005 04:09 PM
Profile PM Web Find Quote Report
Reaper
Veteran Member
*****

Avatar

Posts: 1393
Reputation: 23
36 / Male / Flag
Joined: Jun 2004
O.P. RE: Counter Strike: Source and the motd.txt
uhh text behind it?! :S:$
06-07-2005 04:11 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Counter Strike: Source and the motd.txt
The Text that says **Change Font Here** and **Change size here **, remove that :-)
[Image: 1-0.png]
             
06-07-2005 04:12 PM
Profile PM Web Find Quote Report
Reaper
Veteran Member
*****

Avatar

Posts: 1393
Reputation: 23
36 / Male / Flag
Joined: Jun 2004
O.P. RE: Counter Strike: Source and the motd.txt
works like a charm but, there is one scroll bar which works properly, but then theres one at the bottom and the side of the picture hosted but they dont work. i dont want that to work i want it gone so i only have the one that works.
if you understand what im saying

the game wont let me take a screenshot cos it disables a lot of the buttons on the keyboard until you click ok

uh oh. sorry for double post!

This post was edited on 06-08-2005 at 10:29 AM by Reaper.
06-07-2005 04:25 PM
Profile E-Mail PM Find Quote Report
{WAR}MEGAmich
New Member
*


Posts: 1
Joined: Oct 2006
RE: Counter Strike: Source and the motd.txt
I have major issues with ths mord now i copied and psted and it only shows the HTMl code no the actual outcome?? I do have SMM installed, is this making it bad??
10-30-2006 01:44 PM
Profile E-Mail PM Find Quote Report
Kenji
Veteran Member
*****

Avatar
Previously: Dazmatic, Dazzy, :zippy:

Posts: 1226
Reputation: 39
33 / Male / Flag
Joined: Jun 2006
Status: Away
RE: Counter Strike: Source and the motd.txt
quote:
Originally posted by Reaper
June 7th, 2005 16:25


Isnt this thread abit old?
10-30-2006 01:47 PM
Profile PM Find Quote Report
egaMi
New Member
*


Posts: 1
Reputation: -1
Joined: Oct 2007
Huh?  RE: Counter Strike: Source and the motd.txt
May be a dump q but, how the fuck do i wiev my MOTD in the internet so i can see what it would look like on the server? -help plox.
10-15-2007 08:02 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On