This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
Psyfire
Senior Member
Join Date: Jan 2006
Old 03-03-2007 , 12:14   Re: Restrict Names 1.2a
Reply With Quote #151

Did you test it Mayhem?
Psyfire is offline
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 03-03-2007 , 14:10   Re: Restrict Names 1.2a
Reply With Quote #152

Yes, I tried it. Worked nicely.

One thing though. It puts parentheses around name. Will it still work like that? I don't use parentheses.

Your script:
Code:
"w[\W_]*h[\W_]*[o0\W_][\W_]*r[\W_]*[e3\W_]" "vulgar" 2 120
My check:

Code:
w[\W_]*h[\W_]*[o0\W_][\W_]*r[\W_]*[e3\W_] "vulgar" 2 120

Last edited by Vm|Mayhem; 03-03-2007 at 14:20.
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
Old 03-03-2007, 14:24
Angelina
This message has been deleted by Angelina.
Psyfire
Senior Member
Join Date: Jan 2006
Old 03-03-2007 , 14:37   Re: Restrict Names 1.2a
Reply With Quote #153

Quote:
Originally Posted by Vm|Mayhem View Post
Yes, I tried it. Worked nicely.

One thing though. It puts parentheses around name. Will it still work like that? I don't use parentheses.

Your script:
Code:
"w[\W_]*h[\W_]*[o0\W_][\W_]*r[\W_]*[e3\W_]" "vulgar" 2 120
My check:

Code:
w[\W_]*h[\W_]*[o0\W_][\W_]*r[\W_]*[e3\W_] "vulgar" 2 120
We put parentheses around the words cause it works better. First, we tried without. We took for example fuck you without parentheses. I got banned for the word "you". Then we tried it with parentheses - "fuck you" and it worked. I think parentheses are the best and secure way to use it.
Psyfire is offline
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 03-03-2007 , 14:41   Re: Restrict Names 1.2a
Reply With Quote #154

I'll try it that way. Nice work!

I can't believe no one has ever rated this plugin..lol Guess I'll be the first.

Last edited by Vm|Mayhem; 03-04-2007 at 10:39.
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 03-10-2007 , 13:58   Re: Restrict Names 1.2a
Reply With Quote #155

How would you block a name like this?

&booger&

I want to block any name with "&" on the front and back. I couldn't make one that worked.
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-10-2007 , 14:39   Re: Restrict Names 1.2a
Reply With Quote #156

This regex will: &.*?&
__________________
Brad is offline
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 03-10-2007 , 15:33   Re: Restrict Names 1.2a
Reply With Quote #157

Thanks Brad.
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-25-2007 , 20:06   Re: Restrict Names 1.2a
Reply With Quote #158

@Vm|Mayhem:

I was wrong. The regex I gave will match all of the following:

&blahblahblah& <- correct
blah&blahblah& <- incorrect
&blah&blahblah <- incorrect
blah&blah&blah <- incorrect

The regex to use to catch only the names with the ampersands on the outside is: \A&.*?&\z
__________________
Brad is offline
erjon
Junior Member
Join Date: Mar 2007
Old 03-29-2007 , 11:12   Re: Restrict Names 1.2a
Reply With Quote #159

Hi to all members. I'm new to this forum, and i readed all 16 pages of posts for this plugin. but still i don't get this extension problem.
let's say i want to restrict name:
(CRO)rojeba and rojeba[DE].
i use regexgen and the result is:

"([\W_]*c[\W_]*r[\W_]*[o0\W_][\W_]*)[\W_]*r[\W_]*[o0\W_][\W_]*j[\W_]*[e3\W_][\W_]*b[\W_]*[a@4\W_]" "You are blaclisted" 2 0
"r[\W_]*[o0\W_][\W_]*j[\W_]*[e3\W_][\W_]*b[\W_]*[a@4\W_][\W_]*[[\W_]*d[\W_]*[e3\W_][\W_]*]" "raci" 2 0


but when i join game with these 2 names nothing happens.
and one think. when i ban only (CRO) it works.
Please help me.
Best regards to all.
erjon is offline
Old 03-29-2007, 11:22
Angelina
This message has been deleted by Angelina.
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-29-2007 , 11:29   Re: Restrict Names 1.2a
Reply With Quote #160

WTH? You want to ban the entire name? I mean, you want to ban the literal name, "(CRO)rojeba and rojeba[DE]"?

This plugin can ban individual names like that but it's not what it's designed to do.

To ban that specific name, use: \(cro\)rojeba and rojeba\[de\]

Doing so would be silly though. A player can just change their name and then bypass your block.
__________________
Brad 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 02:04.


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