Hello, here is small code, that will open up for you the HTML MOTD page in CS:GO without making a custom redirect page.
PHP Code:
void OpenMOTD(int client, char url[500])
{
char UrlJS[500];
Format(UrlJS, 500, "javascript: var x = screen.width * 0.90;var y = screen.height * 0.90;window.open(\"%s\", \"Really boomix, JS?\",\"scrollbars=yes, width='+x+',height='+y+'\");", url);
ShowMOTDPanel(client, "Open HTML MOTD", UrlJS, MOTDPANEL_TYPE_URL );
}
This feature supporting javascript can be really useful, you can pretty much do alot of things that I couldnt figure out how to do before with only the motd. Atleast so far I haven't seen anyone using this method, thats why I tought it might be cool to show it to you.
If you have any ideas for what more this could be useful, just write bellow.
__________________