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?
i dont understadn what you mean, can you explain? :o)
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?
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)
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.
Thanks K-man......I didn't even know all that...hehe. Nice link. Very....educational. :)
/(Mr420)
You're welcome... the official Lua manual is a MUST... :-)
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 !
the nick rule doesnt use lua regexp.. this (http://ccl.osc.edu/cca/html_pages/regexp.html.shtml) could help ya
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 !!!
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