• Guest, HEROCRAFT PUBLIC RELEASE IS HAPPENING AN HOUR EARLIER! TONIGHT @ 7PM CST GET READY FOR IT! play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

How to Use the MacroMod's Chat Filter

Rida_

TNT
Joined
May 12, 2014
With /ignore not currently working, I figured this would be a good time to make a separate post explaining how to manually ignore those certain people who just get on your nerves. First, you need to get to the chat filter.
c5d54e84a2.jpg
Then, you can type in what you want it to filter, using the format:
IFMATCHES(%CHATCLEAN%, "TEXT YOU WANT IT TO FIND");
FILTER();
ENDIF();
It will find that text, and filter out any line containing that message. For example, say a player named Minecraftian192 was getting on your nerves. You could type
IFMATCHES(%CHATCLEAN%, "Minecraftian192:");
FILTER();
ENDIF();IFMATCHES(%CHATCLEAN%, "Minecraftian192(.+?):");
FILTER();
ENDIF();
This will edit out anything that person says. There are two parts, one for a name with and one for a name without a suffix. There are other handy things you can do, like
IFMATCHES(%CHATCLEAN%, "No experience gained - block");
FILTER();
ENDIF;
to block out the messages you get when placing certain blocks.


There are a load of other things this can be used for. The macro mod is a powerful tool, and I recommend everyone explore it!
 
Top