In the PtokaX exist a function named "Check nick names"...
how can i denied some characters?
Example...
If i would denied the use of "!" character in the Nick, what I would have to write in the box?
You can enable or disable this check. If you have disabled it then all chars can be used. + and ! are most used in the script commands. If you enable it, then you can type in the box any char you want to block what you want.
Grtzzz
DJ Bert
hell'o,
i just implemented a rule in regex to alow only users with the folowing nick type to connect to the hub:
[COUNTRY_CODE]nick
ex: [US]nick
this implementation disconnects users that have [XX][XX][XX]nick type or nickname. (the one found by default in ptokax cannot disconnect this kind of users because it always finds a valid pattern. eg: [US][XX]nick is valid beacause " XX]n " is found by the regex engine and is considered valid. because i don't want to have such user-nicks in my hub, i implemented the following rule in regex, that excludes the above situation. the expression is as follows:
(?
thing is that, although it works in regexbuddy test, the ptokax regex engine does not recognise it (?) and disconnects even a valid nick, such as [US]nick .
can't seem to find a workaround this issue, so i ask for ure help and advice.
with respect,
F.C.
ok, i made another rule, seems it works:
^(\[[A-Z]{2}\]\w+)