SRCDS Steam group


neat motd
#1
Well.. I made a neat motd for all of you to enjoy Smile

Before you think this is just some html mess, think again.

It works like a browser, that is, you have a window where you can type your address of destination, and a "Go!" button Smile

Just open up your motd.txt in .../cstrike/motd.txt, and have this code!

Code:
<head>
<meta HTTP-EQUIV="Refresh" content="0; URL='http://www.half-life.is/motd/?link=http://your-website.com/'">
<style type="text/css"> body{ background-color: #000000; } </style>
</head>

This will imediately forward users who see the motd, to your website inside a browser. Smile

An example of this would be

Code:
<head>
<meta HTTP-EQUIV="Refresh" content="0; URL='http://www.half-life.is/motd/?link=http://www.srcds.com/'">
<style type="text/css"> body{ background-color: #000000; } </style>
</head>

This would forward the user to http://www.half-life.is/motd/?link=http://www.srcds.com/

Pretty neat, huh?

Known bugs:
- Cannot use www. Requires http:// because of my little knowledge with PHP (maybe to be fixed at a later time).
- Tends to lag, when using as a motd :-/

Special thanks: using this oppurtunity to advertise Smile
www.half-life.is, which recently re-opened with a shiny look and alot of info about HL2 in icelandic.

Best wishes,
Rusty
- http://rusty.half-life.is/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)