About nickname rule on PtokaX
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

About nickname rule on PtokaX

Started by user, 27 September, 2005, 04:37:05

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

user

Hello

I'd like to allow ONLY users with a couple of tags to come in.

Example

I'd like to allow only users with [BLA] and [BLA123] in the beginning of the nickname.

Is that possible with the nickname rule built in PtokaX or i have to make a script?

LiqUiD~TrolL

#1
hi my friend,well r you useing robocop ??

or what ?  

in robocop the only you can do is to add Bad nicks

so i guess that can t happened from there

with ptoka x you can t just add the nick you want to allow in your hub, but you can make the hub private and register only the users you wanna come in with the TAG you like.so thats impossible i guess.

by fixing script is the only idea, but i havent seen any script like this ,while searching the forums

Does someone know any script like this ???? ;-)


have a nice day
________<>________


            -=@_ psydream-land.no-ip.org _@=-


             
http://www.psychedelicdreams.bravehost.com

bastya_elvtars

The nick rule should do the job in PtokaX. You need to know RegExp for it.

It can also be done by script, but there is no LUA5 variant. Gonna post the one I use.
Everything could have been anything else and it would have just as much meaning.

Jemte

#3
QuoteOriginally posted by user

I'd like to allow only users with [BLA] and [BLA123] in the beginning of the nickname.

Is that possible with the nickname rule built in PtokaX or i have to make a script?
put this in the Ptokax settings for the nickname rule
^(\[BLA\d+\]\w+)

that anchors the [BLA] part to the beginning of the name with ^
\[ and \] let you use the [] chars without their special regexp meaning
\d+ matches at least 1 digit if you want to allow [BLA122abcd] you need to change that \d+ to \w+ which is all aphanumeric characters

i believe that should work for [BLA]name , [BLA123]name, & [BLA3943343534543532]name

SMF spam blocked by CleanTalk