See in the server side files /examples/nickname.js

> if (userlist.has(params.name.toLowerCase())) return ["007", "NICK_USED"]; 
> if (params.name.length > 16 || params.name.test('[^a-zA-Z0-9]', 'i')) return 
> ["006", "BAD_NICK"];
I don't like or use this stuff so I added my own "username" properties in this 
same file.

  - Louis

Envoyé de mon iPad

Le 2012-06-04 à 04:09, ulisesmt <[email protected]> a écrit :

> Hello APE fellows, I'm stuck with a problem when using a nickname with   
> ape.start('myNickname');  
> I'm defining something like:
> 
> $nick = 'usuarioX';
> $key = md5(Ni3cK);
> $apenick = $nick.'.'.$key;
> core.start({'name': '$apenick'});
> 
> but if is only used:
> 
> $nick = md5(usuarioX);
> $apenick = $nick;
> core.start({'name': '$apenick'});
> 
> It works, so I was wondering if someone knows if there is some restrictions 
> for that nicknames in start().
> 
> Thanks in advance. :)
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to