This works for me wink

Code:
on $*:text:/(Hello|Hey|Hi)/:#:{
  if ($read(C:\test.txt,n,$2)) {
    write -dl $+ $readn C:\test.txt
  }
}