View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-22-2018 , 21:42   Re: Restrict Names 1.2a
Reply With Quote #372

Quote:
Originally Posted by hasanalizxc View Post
I just asked, but it does not matter. It recognizes (works) nicknames without spaces. When i add a nick which has a space it doesnt detect. I did as you said, but again it does not detect the gap between the nicknames.

for example:

"tonerci dayi" "yasak nick" 1
To detect any number of spaces between word, replace the space with "\s*".

Quote:
Originally Posted by hasanalizxc View Post
And other problem is, i added the r00t nick to the .ini file and when i try to login with WNG|r00t it kicks me. I looked to the console and i saw this: gr00t kicked. why does it recognize only 5 letters of my nick and kick it? i dont want to this. what I wrote, I want to kick that nick. what is the problem and reason?
Well, since "r00t" is in the name "WNG|r00t" then it worked exactly how it was designed.

If you need to match it exactly, you should be able to put a '^' at the front and a '$' at the end.
__________________

Last edited by fysiks; 05-22-2018 at 21:53.
fysiks is offline