_G["WorldMapFramePOI"..i] is a reference to a frame, you can't concatenate a string onto that.
I would be very surprised if your condition comparing texture coordinates to floats actually worked because of the way lua tends to round numbers.
Also, I suspect attempting to add anything to any Blizzard dropdown menu is just going to break something unrelated with taint since it recycles those dropdown menus for secure functions.
|