Raised This Month: $ Target: $400
 0% 

show_motd - Website


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Minimum
Senior Member
Join Date: Jun 2006
Old 07-20-2007 , 00:44   show_motd - Website
Reply With Quote #1

I have seen this done in a tutorial, but is not working when I try it. I am trying to show a website via motd. When I try the command it just shows the boards url (http://boards.gabionstudios.com/) in the motd, nothing else.

Here is my code:

Plugin Init -
Code:
public plugin_init() {     register_plugin("Gabion IPB Integration", "1.00", "Gabion Studios")         // Registering Player Rows     register_playercolumn("ipb_id","INTEGER UNSIGNED NOT NULL DEFAULT 0;")         // Cvars     register_cvar("ipb_prefix","ipb_")     register_cvar("ipb_url","http://boards.gabionstudios.com")         // Commands     register_concmd("amx_viewboards","cmd_viewboards",ADMIN_ALL)         // Register Component     pl_compid = register_component("Gabion IPB Integration") }

The actual function -
Code:
public cmd_viewboards(id) {     new boardsurl[128]     get_cvar_string("ipb_url",boardsurl,127)     show_motd(id,boardsurl,"Our Boards")     return PLUGIN_HANDLED }

Screenshot:
http://minimum.gabionstudios.com/ima.../motdbug-1.png

Last edited by Minimum; 07-20-2007 at 01:35.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
Lotion
Member
Join Date: Apr 2005
Old 07-20-2007 , 01:08   Re: show_motd - Website
Reply With Quote #2

I'm pretty sure that The Specialists doesn't support HTML in the MOTD, if you are using TS, try it in HL just to see if it works, because i think that is why it's not working.
Lotion is offline
Minimum
Senior Member
Join Date: Jun 2006
Old 07-20-2007 , 01:25   Re: show_motd - Website
Reply With Quote #3

Interesting, I will try that.

EDIT: No luck, tried it on Zombie Panic! and it showed the same thing.

Last edited by Minimum; 07-20-2007 at 01:31.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
stupok
Veteran Member
Join Date: Feb 2006
Old 07-20-2007 , 01:43   Re: show_motd - Website
Reply With Quote #4

only CS and a few other mods support html in the motd

The Specialists does not
stupok is offline
Minimum
Senior Member
Join Date: Jun 2006
Old 07-20-2007 , 02:21   Re: show_motd - Website
Reply With Quote #5

Ahh, that sucks. Well, thanks for the info anyways.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
Reply



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 21:31.


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