Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function chatFilter(self,event,msg,source,...)
- -- print("Message: ", msg, " Source: ", source)
- if list and type(source)=="string" and source~="" and type(list[source])=="table" then
- if event=="CHAT_MSG_WHISPER_INFORM" then
- return false, msg.." (NOTE: You are ignoring this player!)", source, ...
- elseif event == "CHAT_MSG_WHISPER" then
- SendChatMessage(IgM_SV.message or "You are ignored","WHISPER",nil,source)
- end
- return true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment