Sorry copy & paste error.

This is the example i try to get to work:

Ape.registerCmd("foocmd", true, function(params, info) {
        Ape.log("The user ip : ("+info.ip+"), foo : " + params.foo);});



So the command is calles foocmd. And now my question is: How do I have to 
call the function, to get the info object defined. Cause when I call the 
function like this:
client.addEvent('ready', function() {
                console.log('Client connected');
                client.core.request.send('showip');
                console.log('Done!');
    }); 

Thanks
Jonas
Am Mittwoch, 14. März 2012 14:26:39 UTC+1 schrieb Serfess:
>
> Can u show your exact code please... 

-- 
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