Skip to content

Instantly share code, notes, and snippets.

@nefftd
Created July 17, 2014 18:58
Show Gist options
  • Select an option

  • Save nefftd/b25b7b6cf6bab49ae382 to your computer and use it in GitHub Desktop.

Select an option

Save nefftd/b25b7b6cf6bab49ae382 to your computer and use it in GitHub Desktop.
function replace_chatframe1_messages (frame, text, ...)
for k,v in pairs(chat_replacements) do
text = text:gsub(k, v)
end
return old_chatframe1_addmessage(frame, text, ...)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment