AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Web Shortcuts (https://forums.alliedmods.net/showthread.php?t=58668)

sslice 07-31-2007 05:48

Web Shortcuts
 
1 Attachment(s)
This plugin allows players to access certain websites specified by the server administrator through a keyword or chat trigger. This plugin acts much like Mani's webshortcutlist.txt, with the main difference being the ability to specify a title for the VGUI panel.

Here is the example webshortcuts.txt:
Code:

// usage: "trigger" "Title" http://www.site.com
// tags: {NAME} {STEAM_ID} {USER_ID} {IP} {SERVER_IP} {SERVER_PORT}
"google" "Google" http://www.google.com
"news" "BBC News" http://www.bbc.co.uk
"steam" "Steam Powered" http://www.steampowered.com
"sourcemod" "SourceMod" http://www.sourcemod.net
"gamemonitor" "Game-Monitor Stats" http://www.game-monitor.com/GameServer/{SERVER_IP}:{SERVER_PORT}/

Note: This plugin does require that you use SourceMod r1224 or later.

Download mirror available here.

imported_Anth0ny 07-31-2007 08:06

Re: Web Shortcuts
 
thanks! another useful plugin.
=)

Xp3r7 07-31-2007 08:54

Re: Web Shortcuts
 
Quote:

Originally Posted by sslice (Post 510469)
This plugin acts much like Mani's webshortcutlist.txt, with the main difference being the ability to specify a title for the VGUI panel.

So are you saying that you can access these by a menu as well as typing the text into chat?

Extreme_One 07-31-2007 09:38

Re: Web Shortcuts
 
:up: Yippee!

Thanks sslice - I've been waiting for this one. :)

[Arnold] 07-31-2007 11:09

Re: Web Shortcuts
 
Yes, works well here too, plus the migration from MAP was ridiculously easy. :wink:

Extreme_One 07-31-2007 11:54

Re: Web Shortcuts
 
Any chance you could hard-code a "motd" trigger?

Will phrases work as triggers or can we specify only a single word?

FlyingMongoose 07-31-2007 13:59

Re: Web Shortcuts
 
What he told me was at the moment it's not easy to do unlessscanning network tables for the motd, which isn't really possible w/out an extension.

DeaD_EyE82 07-31-2007 14:39

Re: Web Shortcuts
 
Quote:

Originally Posted by Xp3r7 (Post 510511)
So are you saying that you can access these by a menu as well as typing the text into chat?

No, he meant the title in the VGUI from the In-Game-Browser.

pRED* 07-31-2007 16:50

Re: Web Shortcuts
 
Just add the chat triggers to SM Super Menu if you use it..

sslice 08-01-2007 02:51

Re: Web Shortcuts
 
Updated to 1.0.1 - made use of BuildPath(). No real reason for existing users to update..


All times are GMT -4. The time now is 17:27.

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