What if you wanted an ON TEXT script that responded to a list of keywords ??

Could someone tell me how I go about creating a variable and using $istok if that's the right way to go about it ..