first off, it's impossible for you to have a match on the on text event without having something in $1, so your first if statement is irrelevant, since it'll never be run (due to the fact that $1 will never be empty & that you have the comparison done incorrectly.

Using the wildcard matchtext, as you currently have it, for multiple possible matches is to have multiple if/elseif/else statements.

You should also give a thorough read of the help file /help if