When I level (on aardwolf) if I gained any new skills or spells with that level, part of the level up text includes lines that tell me what those new spells or skills are. I've written a simple little script that send that info to a chat window so it doesn't get lost in the scrolling battle spam.
However, I'd like to get clever with it. I'd like to take the info and compare it to a list, and if its on that list, then send it to the chat window, if it doesn't then not to (spells and skills I don't bother ever using will not get sent). I could do a series of elseif but we are talking dozens and dozens of penitential matches. I'm thinking an array would be better? I think I know how to create an array
but no real idea how to check a matches[2] again that. Can someone help?
-dana