Look up MDX dll, and mIRC studio. Might answer your questions quickly.