Raised This Month: $ Target: $400
 0% 

Tag Me Up Baby!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Insanity` Wicked
Member
Join Date: Mar 2008
Old 03-14-2008 , 08:48   Tag Me Up Baby!
Reply With Quote #1

Tag Up Plugin by Insanity` Wicked






Description:
This plugin is not really meant for servers that have a clan. This is really meant more for those pub servers that let players tag up using their tag to advertise their server. This plugin allows a player to type !tagup in say and the server's clan tag will be put in front of his name.
I got this idea from a CS:S server, their team tag is -XGF-. I forget what it stands for though...
Cvars:
PHP Code:
tagup_enable <1|0>    //0 disables plugin; default is set to 1
tagup_with Insanity` //use this cvar to put in you clan tag.  default set to Insanity`
tagup_prefix <1|0>  //by default is set to 1, change to 0 to add the tag as a suffix 
Client Commands:
PHP Code:
say !tagup     //player types !tagup in say 


Credits:
PHP Code:
/*  Tag me up baby!
*
* User should add the following lines to their amxx.cfg file:
*  amx_imessage "say !tagup where our tag!" "000100255"
*  tagup_with <your clan tag>  by default, this is set to Insanity`

* Credits:
*  dekken - for his time helping me test this.[/font]
*  Atomen - for helping me fix an error that I couldn't figure out..
*  
*/ 
Hope to add:
  • I hope to add a feature for those clans that have clan tags that are at the end of their name.
  • Coming Soon: Will add the specified tag to all STEAM ID's given in a file.
Updates:
  • Added the option to allow tags that are at the end of your name: 3/20/08
Attached Files
File Type: sma Get Plugin or Get Source (tag.sma - 801 views - 1.8 KB)

Last edited by Insanity` Wicked; 03-22-2008 at 22:21.
Insanity` Wicked is offline
Old 03-14-2008, 12:13
fxfighter
This message has been deleted by fxfighter.
Insanity` Wicked
Member
Join Date: Mar 2008
Old 03-14-2008 , 12:32   Re: Tag Me Up Baby!
Reply With Quote #3

o, i knew that
Insanity` Wicked is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-14-2008 , 16:23   Re: Tag Me Up Baby!
Reply With Quote #4

Quote:
Originally Posted by Insanity` Wicked View Post
I hope to add a feature for those clans that have clan tags that are at the end of their name.
you can add a cvar like:
tagup_location <0|1> - 0 for front of name, 1 for back

then in the code, check the cvar, and swap the parameters.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Insanity` Wicked
Member
Join Date: Mar 2008
Old 03-14-2008 , 16:31   Re: Tag Me Up Baby!
Reply With Quote #5

Quote:
Originally Posted by X-olent View Post
you can add a cvar like:
tagup_location <0|1> - 0 for front of name, 1 for back

then in the code, check the cvar, and swap the parameters.
I know, I will add that feature later. In the mean time, I'm just gonna see if this even has the slightest chance of being accepted. But if I need to add the swap feature in order to get it accepted, then I will get right to it.
Insanity` Wicked is offline
Insanity` Wicked
Member
Join Date: Mar 2008
Old 03-20-2008 , 12:22   Re: Tag Me Up Baby!
Reply With Quote #6

Ok, I have updated this plugin to allow clan tag suffixes
Insanity` Wicked is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-20-2008 , 23:30   Re: Tag Me Up Baby!
Reply With Quote #7

Quote:
Originally Posted by Insanity` Wicked View Post
Client Commands:
PHP Code:
say /!tagup     //player types !tagup in say 
from the source
Code:
register_clcmd("say !tagup", "TagUp")

?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
dekken
Veteran Member
Join Date: Jul 2007
Old 03-21-2008 , 06:23   Re: Tag Me Up Baby!
Reply With Quote #8

also you didnt mention the new Cvar in your post >:O
tag_as_prefix 1/0
You could also add more stuff into it..
Auto tag Members with On join, with controlable Cvar...and Reading the Members from a File?
Option adding players in Game with Command to the File..
iono, Just some more stuff its kinda empty now
__________________
Signature Goes Here
dekken is offline
rpm
Member
Join Date: Aug 2007
Location: Brazil
Old 03-21-2008 , 14:39   Re: Tag Me Up Baby!
Reply With Quote #9

yeah, create a cvar that define a Tag to every body that join the server

or like, terrors will have a tag, and Cts a different tag, it will be very nice

like:
amx_ttag (terror tag)
amx_cttag (ct tag)
amx_alltag (everyone, if not defined, uses the ttag and cttag )

do it, will be very gOOd !
rpm is offline
Insanity` Wicked
Member
Join Date: Mar 2008
Old 03-21-2008 , 17:50   Re: Tag Me Up Baby!
Reply With Quote #10

Quote:
Originally Posted by rpm View Post
yeah, create a cvar that define a Tag to every body that join the server

or like, terrors will have a tag, and Cts a different tag, it will be very nice

like:
amx_ttag (terror tag)
amx_cttag (ct tag)
amx_alltag (everyone, if not defined, uses the ttag and cttag )

do it, will be very gOOd !
this plugin does not do that, this adds a clan tag, not a terrorist or ct tag

dekken, im not so familar with files and getting info from files, if you could show me, I would be more then happy to do this.

x-olent, what do u mean? :: nevermind, i see it. FIXED

Last edited by Insanity` Wicked; 03-21-2008 at 17:52.
Insanity` Wicked 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 20:32.


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