View Single Post
12-28-10, 11:08 PM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Originally Posted by ChaosInc View Post
I had the idea of trying a gsub swap before printing the message but not sure if that would be the most effective method since I'd have to check the message multiple times to check/change existing/absent variables.
I think a massive gsub swap is the only way .. for stuff like replacing "%p", etc

I'm doing it myself like 30/40 times in a function in 1 of my addons; it looked quite dirty ><
  Reply With Quote