very long nickname
-
- Posts: 53
- Joined: Thu Apr 06, 2006 3:35 pm
- Location: Turkey
- Contact:
very long nickname
Irc.KonyaChat.Com- *** Notice -- Client connecting on port 7857: nnnnnnnnnnnnnnnnnnnn ([email protected]) [clients]
whats regex ?
whats regex ?
This is for a long nick of any character.
^[^!]{10,}!
Change the 10 to the max length +1
^[^!][^!][^!][^!][^!][^!][^!][^!][^!][^!].*!
This one is for any characters in the nick, not just the same one. Add more of the [^!] to make it longer.
^[^!]{10,}!
Change the 10 to the max length +1
^[^!][^!][^!][^!][^!][^!][^!][^!][^!][^!].*!
This one is for any characters in the nick, not just the same one. Add more of the [^!] to make it longer.
Why the hell can't my signature be empty?
"Your message contains too few characters."
"Your message contains too few characters."
Yet as a test i have just done with version 3.2.4 reveals:Jason wrote:Because in my experience, ? is useless in ban nick.
With:aaaaabbbbbcccccddddd Erroneous Nickname: Nick too long
Code: Select all
ban nick {
mask "????????????????????*";
reason "Nick too long";
};
-
- Posts: 53
- Joined: Thu Apr 06, 2006 3:35 pm
- Location: Turkey
- Contact:
-
- Posts: 53
- Joined: Thu Apr 06, 2006 3:35 pm
- Location: Turkey
- Contact:
Code: Select all
ban nick {
mask "????????????????????*";
reason "Nick too long";
};
but what about when changes his nick, when he is already connectet?
is there a possibility to forbid that?
kind regards
defcon
defcon
Ban nick regex
And what is the regex for ban nick?aquanight wrote:If you don't want repeated characters:
^(.)\1{4,}
This two doesnt work
ban nick {
mask "^(.)\1{4,}";
reason "Do not repeat characters on nick!";
};
or
ban nick {
mask "^(?-i)([^a-z!]*[A-Z][^a-z!]*)!";
reason "No 100% Caps on nick allowed!";
};
Because when i put it on the spamfilter block a user that is allready connected sees the block msg when she/he tries to change the nickname in repeated characters, but what if they try to connect with repeated characters on nick like aaaaa they dont see the block msg. The spamfilter just block them, but they dont have any idea why.
Another way is tu put KILL on action not BLOCK, but they takes it very personally, because they see that he/she has been killed.
I thing its better idea tu put a regex on ban nick, because they just will be qlined and they still can change the nick without killing them
If there is a regex for ban nick on repeated char... and for 100% caps on nick that would be very helpfull. Thx for every help!!!