AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   View Web Page (https://forums.alliedmods.net/showthread.php?t=41572)

Hell 07-17-2006 20:59

View Web Page
 
Is there a plugin to view a webpage on the welcome screen thing whislt in game that would open with a webpage displayed when you type somthing like 'viewsite'.

I was planning to make it so when u view the webpage, the webpage its self has a song or streaming sound to listen to whilst gaming.

If not could someone please make this or guide me to were i can find it. Thanks

Janet Jackson 07-17-2006 22:29

Re: View Web Page
 
http://forums.alliedmods.net/showthread.php?t=1594
http://forums.alliedmods.net/showthread.php?t=17708

Hell 07-18-2006 15:47

Re: View Web Page
 
nah they both have elements of what i want but not fully.

The first link would be ok if u could just set the link and change the say command

Janet Jackson 07-18-2006 16:27

Re: View Web Page
 
http://forums.alliedmods.net/showthread.php?t=10090

You can set the link by replacing 'motd.txt' with a different file. Also you can easily change the say command.

Hell 07-18-2006 17:11

Re: View Web Page
 
i need it to link to a web page though on my clan site

Hell 07-18-2006 17:17

Re: View Web Page
 
i supose i could make a html motd with a link but is there no way to do it directly

Janet Jackson 07-18-2006 19:04

Re: View Web Page
 
Creating whatever.txt with this content will work :
HTML Code:

<html>
<head>
<meta http-equiv="refresh" content="0;url=http://thesite/you/want/to/link/to.html">
</head>
<body>
Loading page...
</body>
</html>


Hell 07-18-2006 19:28

Re: View Web Page
 
but then it might anoy people who join the server and dont want that


:P



I was wondering on how to refresh the page with a new link anyway so thank you for that.

1 last thing. Do you put this in the motd.txt file or do you make a motd.html files and delete the motd.txt ?

Janet Jackson 07-18-2006 19:34

Re: View Web Page
 
Quote:

but then it might anoy people who join the server and dont want that
You're not getting my point.
Quote:

Originally Posted by me
You can set the link by replacing 'motd.txt' with a different file. Also you can easily change the say command.

So, edit the plugin, replace 'motd.txt' with 'whatever.txt', create a file named whatever.txt in your mod folder and use the HTML code above as its content.

Hell 07-18-2006 21:14

Re: View Web Page
 
lol ok :P


All times are GMT -4. The time now is 01:56.

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