I just browsed through modules.h and found the list of availeable Hooktypes, pretty easy thing. But:
I noticed that there are several commands to add and work with hooks, so which command for which hooktype??
like, RunHook[1-7], HookAdd[Ex, Void, VoidEx, PChar, PCharEx].
What are they doing exactly? And, for example, what do i have to hook if i want to fetch all join/part/nickchanges?
HOOKTYPE_LOCAL_PART, HOOKTYPE_LOCAL_NICKCHANGE and
HOOKTYPE_LOCAL_JOIN for the hooktypes, but which function to add the hook?
Slap me if this can be found in the documentation
Btw, i'm not trying to code a module with the hooks mentioned above, i'm trying to understand the way of hooks for (possible) further modules
Thanks!
- Fussi