View Single Post
04/08/14, 09:44 AM   #7
dev909
 
dev909's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 4
Damn spammers :/. Ok well another question, at the moment I'm set up so that when a whisper comes to you it lists the username in the chat log (don't criticize, I'm tweaking stuff) however after the names a "^n" is appended to the string. I tried to use string.gsub to remove them but it doesn't work. Any thoughts?

Code:
    
function incMessage(id, channel, fromName, msg)
    local name = string.gsub(fromName,"^n", "")
    notifyArray[count] = name
  Reply With Quote