Jump to content

Join our Discord

Talk to other users and have a great time
Discord Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store

Recommended Posts

UPD: thanks to omega, it actually possible to ignore a person with built-in functionality. It works better than what I offer.

 

Recently I found that it is impossible to ignore users on chat box, above. There are times when you do want to have that feature.

This script will not disable sounds of their messages, neither won't it hide messages completely (you would be lost if someone in chat started replying to a message you haven't even seen). But it will replace every message of unwanted person with ***.

Handy.

 

Install this script in a browser. Use GreaseMonkey analog (I'm using Tampermonkey for Chrome).

// ==UserScript==
// @name         EB chat mute
// @namespace    http://dimps.ru
// @version      0.1
// @description  mute messages from certain people
// @author       Dimps
// @match        https://exiled-bot.net/community/*
// @grant        none
// ==/UserScript==

// this will mute username "babyfart". If for example you want to mute me, replace it with "Dimps".
window.setInterval(function(){jQuery("a[data-store=babyfart]").parent().parent().children().find(".shoutbox_text").text("***")}, 100);

https://www.dropbox.com/s/eejwmaxrm8nk8b9/EB%20chat%20mute%20v0.1.user.js?dl=0

 

Areas to improve:

-introduce array with unwanted nicknames

-attach to an event instead of timer polling

-intercept message to prevent sound*

-add GUI**

 

UPD: ignore is built into forum engine.

Edited by Dimps

Share this post


Link to post
Share on other sites

you can mute people in the shout box.... i have babyfart muted aswell

 

simply go to "manage ignore prefs"

 

*right above "client area"* where your key is*

 

pretty straight forward after that

 

hope this helps in avoiding contact with babyfart

  • Upvote 1

Share this post


Link to post
Share on other sites

Thank you, omega! I genuinely tried to find built-in ignore, asked about it in chat too. Funny "My prefs" under chat don't have it, neither does every chat line.

Built-in solution works better than what I offer. I guess now I have a pile of code and an intel on ipboard settings :)

Share this post


Link to post
Share on other sites

Thank you, omega! I genuinely tried to find built-in ignore, asked about it in chat too. Funny "My prefs" under chat don't have it, neither does every chat line.

Built-in solution works better than what I offer. I guess now I have a pile of code and an intel on ipboard settings :)

happy banning

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...