Nice script. Very useful.
Although, Ive tried changing this line
sockmark $iif($event == text,$+(calculate,$nick) $iif(#,notice,msg) $nick,calculate echo -a) $1-
to get it to post to channel instead of notice nick...how would I do that?