Skip to content

Instantly share code, notes, and snippets.

@nefftd
Created July 17, 2014 18:57
Show Gist options
  • Save nefftd/5d5c2f4f0a0102008fe4 to your computer and use it in GitHub Desktop.
Save nefftd/5d5c2f4f0a0102008fe4 to your computer and use it in GitHub Desktop.
function replace_chatframe1_messages (frame, text, red, green, blue, id)
for k,v in pairs(chat_replacements) do
text = text:gsub(k, v)
end
return old_chatframe1_addmessage(frame, text, red, green, blue, id)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment