I hook the SEND command.

Ape.registerHookCmd("SEND", function(params, info)
{
    store_single_chat("Main",user_id,params.msg);

    // We let the normal JOIN command work
    return 1;
});

The idea is to store the message that the user has sent. That's why I call 
the store_single_chat function().

However, I need the name of the channel I am in. Is there a simple way to 
get that?

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to