Search Static Array for Match
Ok.. I've been working on and off on a script.
I've gotten to a place where the script is working as intended, but not optimally.
I need to know how to create an array and then search it for a string that matches an input string.
That is... my srcript pops up a button when a buff runs out on you and you have it in your spell book.
This is all fine and dandy when Demon Armor is lost or Shadow Ward... but what about Corruption?
I don't neccessarily want to cast Corruption if it was cast on me.
So, how do I go about doing this?
|