code/__DEFINES/chat_filter.dm ![code/__DEFINES/chat_filter.dm0](git.png)
CHAT_FILTER_INDEX_WORD | The index of the word that was filtered in a is_*_filtered proc |
---|---|
CHAT_FILTER_INDEX_REASON | The index of the reason why a word 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 |
CAN_BYPASS_FILTER | Given a user, returns TRUE if they are allowed to bypass the filter. |
Define Details
CAN_BYPASS_FILTER ![code/__DEFINES/chat_filter.dm 12](git.png)
Given a user, returns TRUE if they are allowed to bypass the filter.
CHAT_FILTER_INDEX_REASON ![code/__DEFINES/chat_filter.dm 5](git.png)
The index of the reason why a word was filtered in a is_*_filtered proc
CHAT_FILTER_INDEX_WORD ![code/__DEFINES/chat_filter.dm 2](git.png)
The index of the word that was filtered in a is_*_filtered proc
REPORT_CHAT_FILTER_TO_USER ![code/__DEFINES/chat_filter.dm 8](git.png)
Given a chat filter result, will send a to_chat to the user telling them about why their message was blocked