AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   MOTD - Popup a custom URL for a user (https://forums.alliedmods.net/showthread.php?t=221576)

Triniayo 07-23-2013 18:52

MOTD - Popup a custom URL for a user
 
1 Attachment(s)
Description:
Simple plugin that sends through the command !popup <playername> a custom URL in form of a MOTD to a user. Only admins can use the command.

CVars
Quote:

sm_popup_command "popup" // You can choose your own command for the Popup here.
sm_popup_url "http://google.com" // You can put your URL that you want to let popup here.
sm_popup_version "1.2" // MOTD Popup Version - don't change this!
You can edit the CVars in the automatic created config-file called 'plugin.popup.cfg'.

Commands
!popup <playername> // Popups a MOTD with a custom URL for a player.
!popup <playername> <url> // Popups a MOTD with a custom URL that isn't given in the .cfg-File.

Install
Unzip all into your Cstrike-Folder.

Credits
Tooti - Thanks for your help, again! ♥

Have fun with this plugin. :)


Changelogs

Quote:

07/28/2013 - Updated to v1.2
- Removed Compile-Requirements SMLIB & AutoExecConfig
- You can download the Plugin direct now.
- Plugin Version added.

07/27/2013 - Updated to v1.1
- You can also send custom URLs to a User.
- !popup <playername> sends the URL, that you've configured in the .cfg
- !popup <playername> <url> sends the URL you want.

thetwistedpanda 07-23-2013 18:55

Re: MOTD Popup with custom URL
 
You should see if a plugin's functionality exists already before uploading a new plugin, and if so, if yours does anything different or extra to justify releasing it. If you're just learning the language, your first dozen plus plugins are fodder that exist in dozens of forms already - doesn't mean you can't see if it doesn't exist though.

Triniayo 07-23-2013 18:57

Re: MOTD Popup with custom URL
 
I didn't see that there is a plugin of this art.

You can do !popup <playername> to popup the URL-Page "http://google.com" in a MOTD for a user. You can change the command !popup to !idontknow and you also can change the URL.

thetwistedpanda 07-23-2013 18:58

Re: MOTD Popup with custom URL
 
https://forums.alliedmods.net/showthread.php?p=1607261

https://forums.alliedmods.net/showthread.php?p=1477238

Hadn't finished searching, linked another one. Thought the first one had checkcommandaccess support but it must have been a revision someone posted on the forums. The original point remains. Everyone that starts coding wants to release their initial projects, but odds are they already exist. If they do not provide anything special from existing plugins, they may not be approved.

tooti 07-23-2013 19:00

Re: MOTD Popup with custom URL
 
Quote:

Originally Posted by thetwistedpanda (Post 1997408)

Is there a Function that you can send it to an user? Btw. Freaky's Plugin is only usable for admins
Quote:

Originally Posted by thetwistedpanda (Post 1997408)

You must add everytime the url ^^

Triniayo 07-23-2013 19:00

Re: MOTD Popup with custom URL
 
Twistedpanda,

this plugin is only for admins. Admins can use the command !popup <playername> to send the URL in form of a MOTD to a user.

Kingslide 07-23-2013 19:26

Re: MOTD Popup with custom URL
 
Nice work.

Mentos 07-23-2013 19:36

Re: MOTD Popup with custom URL
 
lets troll some users ;D like it

Triniayo 07-26-2013 09:41

Re: MOTD - Popup a custom URL for a user
 
Thanks for the feedback. :)

Dr. McKay 07-26-2013 13:15

Re: MOTD - Popup a custom URL for a user
 
While there are already plugins that do something similar, I think that this one is different enough to not be considered a duplicate. You could, for example, set the URL to your rules page as the destination and use this to pop up the rules on troublemakers.


All times are GMT -4. The time now is 10:38.

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