I dont get yet, If a user press the button and sends the quit command to server, the servers sends a "userLeft" command to everyone in the channel. You can catch the event by adding the event on client side pipe object
pipe.addEven("userLeft", function(user, pipe){ //notify which user has left alert(user.properties.name); }) Doesn't that works for you? BTW is been a while since i last coded for APE so might be wrong... On Wed, Jan 4, 2012 at 10:45 PM, utan <vcomputado...@gmail.com> wrote: > What I want beside learn how to do that, is to make it available a > button which will be fired by onload and if the user press to the > button, send the quit command and get this user info available to all > the users in the pipe.. > I think that's really important to understand how to send and receive > a command, not only to the individual that fire it, but all in the > pipe.. > > thanks a lot Pablo, I'll be around waiting > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to ape-project@googlegroups.com > To unsubscribe from this group, send email to > ape-project+unsubscr...@googlegroups.com > 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 ape-project@googlegroups.com To unsubscribe from this group, send email to ape-project+unsubscr...@googlegroups.com 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/