Chat Filters

Class: All Classes
Faction: All Factions
Level: All Levels
Item Links:
Quicklink (copy this):

Feedback: Feedback-Thread
Introduction


With the advent of the 18.1 patch, a feature was introduced to allow users to completely filter out certain messages from being displayed in chat windows.

The main reason this feature was introduced was to allow users to eliminate credit seller spam from their chat windows. Using the /ignore <username> was insufficient because credit selling spammers would create new accounts constantly to thwart the use of /ignore.

This guide will explain exactly how to use the filter command, but if you're mainly interested in blocking the most common spammers, you can jump here to our suggested filters.

Let's take a look at the basics of the /filter command.


The Basics


Here are the basic commands to enable, disable and clear your chat filters:

/filter enableenables the filter.
/filter disabledisables the filter without deleting any of the added filters.
/filter clearclears all filters



Adding and Removing Filtered Words


Now, in order to do something useful with these filters, you need to add some words that trigger the filter. Here are the commands that add filters:

/filter add <word>adds a word to the filter.
/filter listlists all the active filters
/filter del <number>deletes the specified filter (where <number> is the line number from 'list'


Note that filters are added to your game client preferences. That means if you add a filter on one character, that filter will be active for all characters on all accounts.

Simple example of filtering any line that includes the word 'bob':

/filter add bob
/filter enable



More Advanced Stuff


The chat filter supports a subset of regular expressions. AO is old, and so is its regex parser, so not everything will work as you'd expect in a more modern implementation. Escape sequences inside character sets might not work as expected, for example. The most common constructs should work though.

Example that filters various variants of 'plox', 'plx', and 'plz':

/filter add [pP][lL1][oO0][xX]
/filter add [pP][lL][xX]
/filter add [pP][lL][zZ]
/filter enable



Other Uses


That takes care of the main use, but the chat filters not only filter out messages from other players, it can even filter out messages from the system. If you are a "button masher" type of player, perhaps you're sick of all the messages from the system telling you about things you can't do.

Here are examples of other filters you could add to prevent those messages about how much longer you have to wait until you can use a particular special attack.

/filter add Wait for your previous special action
/filter add Unable to perform action
/filter enable



Suggested Filters


There's a good chance you're looking up this article because you've seen spammers on the OOC channels in game and want to block those. Here are some suggested filters to block the URLs of the cred sellers:

/filter add [Ee][Gg][Pp][Aa][Ll]
/filter add [Ee]-[Gg]-[Pp]-[Aa]-[Ll]
/filter add [Aa][Oo][Ee][Gg]2019
/filter add [Mm][Mm][Oo][Oo][Kk]
/filter add [Mm][Mm][0-9][0-9][Kk]
/filter add [Nn][Ee][Ww][Gg][Ee][Nn][Aa][Oo]
/filter add [Nn][Ww][Gg][Oo][Ll][Dd].[Cc][Oo][Mm]
/filter enable


If for example you don't want to see the Darknet message of the day, you could block it like so:

/filter add tell Darknet news markasread [0-9]
/filter enable


Last updated on 05.27.2022 by Saavick
Written by Llie
Information originally by Macrosun posted by Means (Friday with Means - May 29th, 2009)
Do you have questions about this article or found an error? 6 comment(s) - Click here to view them!