Problems with people using $ in there nicks
 

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

Problems with people using $ in there nicks

Started by MrZ, 17 October, 2004, 19:57:58

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MrZ

Hia

A "new" thing has started to show up in out hub, people using $ in there nicks.

I know that there is an option to "Check nick names" in ptax, but not sure how it works..

([[A-Z]{2}]) does this means no other then letters and numbers?, what if i wanna add something else like a
? ?

Many ppl using brackets [ ] like this -> [CS?]Deputy

Tnx :)

Z ya

Always remember that you are unique... just like everyone else :-D

NightLitch

try this for $, it's a start:

function NewUserConnected(sUser)
--	if strfind(sUser.sName, "$") then
	if strfind(sUser.sName, "%$") then
		sUser:SendData("Your nickname contains bad characters...")
		sUser:Disconnect()
	end
end

Best Regards / NightLitch
//NL

MrZ

#2
:)) Tnx a lot NightLitch



Btw, I think one of our OP's might me yours as well :))
Always remember that you are unique... just like everyone else :-D

MrZ

Hia again

Just notised that the second line is remarked by a --

Is there a reason for that ?
Always remember that you are unique... just like everyone else :-D

bastya_elvtars

its commented cause its bad and NL wrote a new one instead of putting a % into the original :P
Everything could have been anything else and it would have just as much meaning.

MrZ

Guessed, just wondered if there was a special reason for leaving it and not removing it, maybe there was..... to show its bad - hehe

Tnx a lot, Both of U

Z ya
Always remember that you are unique... just like everyone else :-D

nErBoS

Hi,

The char "$" is a magical char used in strfind there for to not get some invalid data is best to use "%$" that search for a real "$".

Best regards, nErBoS
--## nErBoS Spot ##--

MrZ

tnx a lot to you all guys... ow u one,,

if u ever get around Halmstad a round is on me
Always remember that you are unique... just like everyone else :-D

NightLitch

QuoteOriginally posted by MrZ
tnx a lot to you all guys... ow u one,,

if u ever get around Halmstad a round is on me

Well round up the beet mate... Am just some miles away.

Vad ?r det fr?n Ume? till Halmstad ???

Ladda upp jag kommer ;-p

/NightLitch
//NL

_Satan_

I have some users (perhaps) with empty nick with 0 sharing i cant get whats that .

SMF spam blocked by CleanTalk