PtokaX forum

PtokaX => Support => Topic started by: acrespo on 18 October, 2003, 20:06:44

Title: rules and bots tab: Check user names question
Post by: acrespo on 18 October, 2003, 20:06:44
I didn't see any manual/tutorial to explain the regular expression of Check User Name function of Ptokax Rules and bots window.

Can anybody explain here please?
Title:
Post by: pHaTTy on 18 October, 2003, 20:13:49
i dont understadn what you mean, can you explain? :o)
Title:
Post by: acrespo on 18 October, 2003, 20:27:25
See in "rules and bots" Ptokax window.
At botton/right of the window you will see "Check user names". When you enable this rule, you will see "([[A-Z]{2}])" in the first text box.  Can you explain how to edit this field?
Title:
Post by: (Mr420) on 21 October, 2003, 00:56:09
I think that means that the user must use only characters A-Z, and that the minimum number of characters is 2. Tho I could be wrong.

As far as editing, well, I've never fooled with it to be honest.

/(Mr420)
Title:
Post by: klownietklowniet on 21 October, 2003, 01:15:43
Maybe this link (http://www.lua.org/manual/4.0/manual.html#pattern) will help you.


([[A-Z]{2}])

means: any character from A-Z and EXACTLY 2 of them. And the whole thing is closed in [] to create the tag like: [US]MyNickName.
Title:
Post by: (Mr420) on 21 October, 2003, 03:09:09
Thanks K-man......I didn't even know all that...hehe. Nice link. Very....educational. :)

/(Mr420)
Title:
Post by: klownietklowniet on 21 October, 2003, 03:16:10
You're welcome... the official Lua manual is a MUST... :-)
Title:
Post by: kabba on 26 October, 2003, 14:01:59
hello
I have just started a PTOKAx server and a have only one problem. I don't undestand what: "([[A-Z]{2}])" means.
I have read what you said, but i still can't rezolve this problem.
Where can i find links for this nickname rule?
On my server I want peple to have nicknames like:
"[T19]Name" or [T1]Name"
please respond.thank you !
Title:
Post by: tezlo on 26 October, 2003, 15:09:14
the nick rule doesnt use lua regexp.. this (http://ccl.osc.edu/cca/html_pages/regexp.html.shtml) could help ya
Title:
Post by: kabba on 26 October, 2003, 18:26:45
QuoteOriginally posted by tezlo
the nick rule doesnt use lua regexp.. this (http://ccl.osc.edu/cca/html_pages/regexp.html.shtml) could help ya

Thanks a lot. It realy helped me !!!
Title:
Post by: MrZ on 27 October, 2003, 06:28:38
Hia:))

While we talking about this anyway...A good usermanuall of the PtokaX gui would be nice.

I know the moust but i wanna know it all..hihi

for expl: what does the "enter full hub" means in the profile manager?

Z ya