Try looking here Scripts and scripting information for mIRC : and follow some of the links.