I have this statement

Code:
   if (*ty* iswm $1-) { .m $active $replace($1-,ty,$wc1(T) $+ hank $wc1(Y) $+ ou)  | halt }


how can i make it react to ty type several times in the same line ? like ty ty very much should output

thank you thank you very much

I have more "wc" in the script and want them all to be able to react in the same line.. like "ty brb" should do a "thank you be right back"

you get the point ?