Remove those lines from the other event, and put these lines in a brand new remote scriptfile
in the remote tab of the alt+R script editor you can use the file/new to do that.
Then put these lines in that file:

Code
raw USERNOTICE:*:{
  if (!$window(@usernotice)) window -z @usernotice
  echo 3 $time @usernotice nick $nick chan $chan tags: $msgtags
  echo 4 $time @usernotice nick mesg: $1-
  beep 1
}

The beep is just to make a sound when something goes to the window, and you can remove that
Once you have some lines in the window, you can either copy them by highlighting with the mouse, or the @usernotice window will have a "buffer" menu choice in the upper left corner of the window, from where you can either save-as to disk, or copy to clipboard