Raised This Month: $12 Target: $400
 3% 

Linking motd from motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoldNux
Senior Member
Join Date: Mar 2018
Old 03-19-2018 , 18:44   Linking motd from motd
Reply With Quote #1

I want to have a second motd.txt, and link to it from the other motd.
Is this possible?

I have no place to host a website, so I need to do it this way.
__________________
Try my version of de_dust2, I think it's great and you should check it out!
https://gamebanana.com/mods/83731
GoldNux is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 03-19-2018 , 19:34   Re: Linking motd from motd
Reply With Quote #2

No, links only function when opening a page.
__________________
klippy is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 03-19-2018 , 20:42   Re: Linking motd from motd
Reply With Quote #3

Quote:
Originally Posted by KliPPy View Post
No, links only function when opening a page.
Did I missunderstand this plugin?
Does it not add link to .txt?
https://forums.alliedmods.net/showthread.php?t=297627

OT: I just installed your VSC extension, it is nice!

Last edited by suhdude; 03-19-2018 at 20:51.
suhdude is offline
haZh
Member
Join Date: May 2017
Location: Sri Lanka
Old 03-20-2018 , 10:25   Re: Linking motd from motd
Reply With Quote #4

Yes. You can link as much motds as you want. You might want to save the 2nd motd file as a *.html file, I'm not exactly sure if a *.txt file link will be rendered as a web page properly in the window. With plugins like above you can open a motd window whenever you want.
__________________

Last edited by haZh; 03-20-2018 at 10:43.
haZh is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 03-20-2018 , 11:26   Re: Linking motd from motd
Reply With Quote #5

When sending pages from your server (show_motd, motd.txt, whatever) you can't link to other such pages that are found on your server. You can only link pages using the HTTP/HTTPS protocol.
__________________
klippy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-20-2018 , 21:29   Re: Linking motd from motd
Reply With Quote #6

Quote:
Originally Posted by suhdude View Post
Did I missunderstand this plugin?
Does it not add link to .txt?
https://forums.alliedmods.net/showthread.php?t=297627
No. That plugin adds chat commands which open the MOTD window. It does not change how the MOTD functions. As state previously, links in the content of the MOTD can only link to web pages that are on the public internet.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:25.


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