Evening,

Been a while since I've been active here.

Returned recently to updating a few scripts I've been running for a friend.

Code
on *:text:!t *:#: {
  write $chan $+ test.txt $2-
  msg # Fingers crossed  }


So what I'm attempting is to simply write to a file called #CHANNELtest.txt anything after the command, however, this format doesn't appear to be working any more despite it previously having worked in other scripts.

Any suggestions, keeping this filename format would save changing several other scripts if possible...