Code:
on @1:text:*:#: {
 [color:red] if (# == #channel)[/color] && (CERTAINWORD isin $7-) {
    set %word $strip($7)   
  //msg #channel You just saw %word. RUN!!!!!  
 }
}

The red part was what I was talking about, it's if (# == #channel) I thought it would have to be if (# == $chan)
but, I guess not. laugh