What this does is it turns any line that contains (/msg ), "/msg ", (/ctcp ), and "/ctcp " into a clickable link that will return whatever is between either ( and ) or between the two sets of quotation marks.
I know this has been done a million times... But here is yet another nick alert.