I would like to know how to add an avatar in chat, eh seen that has a feature on how to do but I am not aware of how to use that function would someone explain to me how to add even two users with its own avatar .. I'm not good with English'm with translator
hope someone solve my doubt and many thanks for the support
hope someone solve my doubt and many thanks for the support
- Code:
avacweb_chat_config.message_hook.push(function(row, username, user_id, user, msg) {
msg.innerHTML = msg.innerHTML.replace(/\b(stupid|idiot)\b/gi, '[CENSORED]');
});