Raised This Month: $51 Target: $400
 12% 

[Any] Clan Tag Stripper


Post New Thread Reply   
 
Thread Tools Display Modes
Antithasys
Moderator
Join Date: Apr 2008
Old 08-12-2011 , 18:56   Re: [Any] Clan Tag Stripper
Reply With Quote #11

Quote:
Originally Posted by sinblaster View Post
is that how approvals work now?
On this function...
PHP Code:
public CompareNames(const String:str1[], const String:str2[]){
    
// Any attempt to understand this may result in serious brain damage
    
    
new max=Min(strlen(str1), strlen(str2));
    new 
lbreak;
    new 
bool:sc=false;
    new 
ch;
    new 
bool:ls=false;
    
    for(new 
i=0;i<max;++i){
        if(
CharToLower(str1[i])!=CharToLower(str2[i])) break;
        
ch=str1[i];
        if(!
IsCharAlpha(ch)
            && !
IsCharNumeric(ch)
            && 
ch!='\''
        
){
            if(!
IsCharSpace(ch)){
                
sc=true;
                
lbreak=i;
                
ls=false;
            }else if(
sc){
                
sc=false;
                
lbreak=i;
                
ls=true;
            }
        }
    }
    if(
ls&&lbreak){
        return 
lbreak-1;
    }
    return 
lbreak;

...yes. Lol. It was more of a joke reference to his comment in the function.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 08-12-2011 , 18:59   Re: [Any] Clan Tag Stripper
Reply With Quote #12

lolz yeah sorry I was adding to your joke. I download and use plugs on a nobody complained basis every day.
__________________
Happy Happy Joy Joy

sinblaster is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 08-13-2011 , 08:54   Re: [Any] Clan Tag Stripper
Reply With Quote #13

I tested it for months in my server without any problems

(That function is based on a keyvalue parser that I made a while ago, heavily modified, so it looks kinda weird)
Matheus28 is offline
zyncool99
Junior Member
Join Date: Jun 2013
Old 06-07-2013 , 21:03   Re: [Any] Clan Tag Stripper
Reply With Quote #14

how can we use it
zyncool99 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-07-2013 , 23:45   Re: [Any] Clan Tag Stripper
Reply With Quote #15

Quote:
Originally Posted by zyncool99 View Post
how can we use it
Install it on your server.
ddhoward is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 02-08-2014 , 09:23   Re: [Any] Clan Tag Stripper
Reply With Quote #16

Hello i have a problem:
Quote:
rcon sm_cts_add "»Ðل«"
[CTS] Tag »Ðل« added
rcon sm_cts_add "»Ðل« WAR"
[CTS] Tag »Ðل« WAR added
rcon sm_cts_add "»Ðل« PUBLIC"
[CTS] Tag "»Ðل« PUBLIC" added
rcon sm_cts_add »Ðل« WAR
[CTS] Tag ********* ********* ********* ********* ********* ********* ********* ********* WAR added
] rcon sm_cts_add »Ðل« PUBLIC
[CTS] Tag ********* ********* ********* ********* ********* ********* ********* ********* PUBLIC added
] rcon sm_cts_list
[CTS] Displaying 9 tags:
- »Ðل«
- "»Ðل« VIP"
- "»Ðل« War"
- "»Ðل« PUBLIC" 
- "»Ðل« WAR" 
- ********* ********* ********* ********* ********* ********* ********* ********* WAR
- ********* ********* ********* ********* ********* ********* ********* ********* PUBLIC
in-game:
Quote:
* »Ðل« War LetsGo RCT CSS a changé son nom en War LetsGo RCT CSS
* War LetsGo RCT CSS a changé son nom en »Ðل« War LetsGo RCT CSS
* »Ðل« War LetsGo RCT CSS a changé son nom en War LetsGo RCT CSS
The plugin does not know how to react as it changes the tag although this tag is in the list, please correction?

Sincerely,
eric0279 is offline
clorster
Junior Member
Join Date: Jan 2015
Old 01-22-2015 , 16:10   Works for admin ?
Reply With Quote #17

can this also be used for admin tag ?
clorster is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-22-2015 , 20:57   Re: [Any] Clan Tag Stripper
Reply With Quote #18

tag whitelist?
__________________
Chdata is offline
BlagoYar
Member
Join Date: Nov 2018
Location: Чер
Old 01-09-2019 , 13:25   Re: [Any] Clan Tag Stripper
Reply With Quote #19

Why plugin cuts names, not clan tags?
Although for me this is very good, but I would like him to clear or replace certain clan tags with his own.

For example, I added the clan tag "marcoserv.ru", when such a player enters, then the name is immediately truncated and only ".ru" remains.

PS. And where is the list file to which clan tags are added from the console?

Last edited by BlagoYar; 01-09-2019 at 13:27.
BlagoYar is offline
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 06:50.


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