addEventHandler("onPlayerChat",root,
function(msg,msgT )
If msgT == 0 then
cancelEvent()
local Name = getPlayerName(source)
local n_Msg = string.gsub('#%x%x%x%x%x%x', ' ' )
outputChatBox(Name..' : '..n_Msg,root,255,255,255,true)
end
end
)
-- Untested
لا تنسى تخلي If , if
نسيت اخليها سمول : )
Line 6 : string.gsub(msg,'#%x%x%x%x%x%x', ' ' )