Thank you Rilgamon. I tried your script but "reason" is NIL when the addon TOC interface is 9.x on WoW Retail (8.x).
I wanted to compare an addon TOC interface number with WoW version number but I realised I don't need to perform such a test. Sorry to ask a stupid question, and thank you for your replies.
|