/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/chat_filter.dm

CHAT_FILTER_INDEX_WORDThe index of the word that was filtered in a is_*_filtered proc
CHAT_FILTER_INDEX_REASONThe index of the reason why a word was filtered in a is_*_filtered proc
REPORT_CHAT_FILTER_TO_USERGiven a chat filter result, will send a to_chat to the user telling them about why their message was blocked
CAN_BYPASS_FILTERGiven a user, returns TRUE if they are allowed to bypass the filter.

Define Details

CAN_BYPASS_FILTER

Given a user, returns TRUE if they are allowed to bypass the filter.

CHAT_FILTER_INDEX_REASON

The index of the reason why a word was filtered in a is_*_filtered proc

CHAT_FILTER_INDEX_WORD

The index of the word that was filtered in a is_*_filtered proc

REPORT_CHAT_FILTER_TO_USER

Given a chat filter result, will send a to_chat to the user telling them about why their message was blocked