Originally Posted by ChaosInc
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 ><