You can use if (*word* iswm $1-) || (*word1* iswm $1-) || (*etc* iswm $1-) {
Just replace @word by $chan in the /echo command to display in the channel
thank for the response, so the command goes something like that:
on 1:TEXT:if (*word* iswm $1-) || (*word1* iswm $1-) || (*etc* iswm $1-) {:#channel { if ( $nick == nickname ) { Window -e @TEST | echo @TEST $timestamp $1- | haltdef } }
?