function GameAmp.ConvertGlobalString(text) text = string.gsub(text, "%(", "%%("); text = string.gsub(text, "%)", "%%)"); text = string.gsub(text, "%%d", "(%%d+)"); text = string.gsub(text, "%%s", "([%%w %%d+-]+)"); return text.."$"; end