>
>
> Ape.addEvent('adduser', function(user) {
>
> var a={user.getProperty('name').toLowerCase(),{user.getProperty('pubid')}};
>
> userlist.set(a, true);
>
> // userlist is a hash which works with key/value pairs so
*userlist.set(user.getProperty('name').toLowerCase(),
user.pipe.getProperty('pubid')) *
> });
>
> Ape.registerCmd("getUserPubid",function(params,info){
>
> return userlist.getProperty(params.name);
>
> *return userlist.get(params.name.toLowerCase())*
> });
>
Nathan.
--
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/