on *:text:*:#chan1,#chan2:{ if *sometext* iswm $1- { perform } elseif *anothertext* iswm $1- { perform } }