gsub'ing |t and stuff
View Single Post
11-25-10, 07:18 AM
A Molten Giant
Join Date: Sep 2006
Originally Posted by
if your gsub above removes a texture... like
is what your trying to remove, just do a
text = text:gsub("\124T.*\124t", "")
that removes the |T and |t and everything in between
Thats exactly what its doing, removing the icon texture and all the garble in between. Thanks.
Torhal - I love how you refer to it all as a mess
The reason you do the gametooltip:show more then once is to make it update the gametooltip's size according to if the icon is shown or not, and since you can keep the cursor over a target and add/remove raid icons you need the size to update without cursoring off of the target. Best way i found to do that was to just make it show tooltip again. Another way although i could not get it to work is to get it the gametooltip onupdate script again but i tried get script and just running bliz's function and it did not work like one would think.
"Are we there yet?"
Last edited by Grimsin : 11-25-10 at
View Public Profile
Send a private message to Grimsin
Visit Grimsin's homepage!
Find More Posts by Grimsin