No, I was giving the /if structure only, you still have to use the appropriate on text event:

on *:TEXT:*:#channel:{
if (*word* iswm $1-) || (*word1* iswm $1-) || (*etc* iswm $1-) {
if ($nick == nickname) {
window -e @TEST | echo @TEST $timestamp $1-
}
}
}


#mircscripting @ irc.swiftirc.net == the best mIRC help channel