connect to the stream using sockets, write to a file, play file in mirc... its been done before, in mircscript, easy... i dont know the specifics though