Code:
ON &^*:NOTICE:*:*:{
  if (!$window(@notices)) window -e @notices
  aline -hp $color(notice) @notices $asctime([hh:nn:ss]) $nick -> $+($target,@,$network,:) $1-
  editbox @notices /notice @ $+ $chan «[ $+ $opnick(#,0) $+ ]Secret OP Minx-o-gram»
  haltdef
}

menu @notices {
  dclick:editbox @notices /notice $gettok($sline($active,1),2,32)  «Minx-o-gram» to $gettok($sline($active,1),2,32) $chr(160)
}


If you're double-clicking on a line where the 2nd 'word' is the nick who sent you the message, this should put into the editbox:

/notice Clicked-on-Nick «Minx-o-gram» to Clicked-on-Nick