I am currently trying to create a script for whenever a certain word is said in a channel (by the on:TEXT command) it will echo a message to a window but instead of just having one word for the script to “keep an eye out” for I want it to have multiple words; but I currently only know how to assign one thing to one variable by /set and =. Is there by chance a way to use an array or someway that I could use the same variable name for multiple things? Here's an example of what I've been trying:

Code:
%textmatch = test
%textmatch = test2

on *:%textmatch:#: {
/window @Text_To_Match
/echo  -te @Text_To_Match Text found: %textmatch
}

But the script will only look for test2 because that is the current thing assigned to %textmatch.
I hope this makes sense and please help.