Page 1 of 1

Help with module

Posted: Sun Nov 23, 2014 8:12 pm
by Steve
Hi

Can someone tell me, if I want to write a module for our network that does something when a PRIVMSG is sent (PRIVMSG user -> user, not user -> channel etc.) what hooks I should use?

What docs should I be looking at for the basics here? Is there a sample simple module to start with? :-)

Thanks a lot,

Steve

Re: Help with module

Posted: Sun Nov 23, 2014 8:41 pm
by katsklaw
Use the webtv module as an example.

Be warned though: This breaks RFC1459 and not all clients will like it. There may be unforeseen problems and random breakage.